Skip to content

Support clicking username/displayName of virtualUser to add mention to chat input

Follow-up to https://gitlab.com/gitlab-org/gitter/webapp/-/issues/1076

When you click the displayName or username of a user, it should add the correct mention to your chat input/textarea.

What does a mention look like for a Matrix virtualUser?

See https://gitlab.com/gitlab-org/gitter/webapp/-/issues/2617#what-does-a-mention-look-like-for-a-matrix-virtualuser

Relevant code