Skip to content

RFC: Less bad user mentions

Tobias Fella requested to merge work/mentions into master

At this point we all know how bad rich text in QML is. The biggest problem here is user mentions: We currently do not have a sane way of showing to the user that a certain part of the text will be replaced with a user mention and the algorithm inserting the link is relatively bad.

To make this situation less annoying, I propose doing the following:

  • Keep the user autocompletion
  • When the user autocompletes something, the (part of the) displayname/mxid that was used for "searching" during the autocomplete is replaced by the complete mxid
  • After the user sends a message, every valid mxid that is in the message and which belongs to a user in the respective room is replaced by a link

Comments?

I have not implemented it yet, but should be easy enough

Merge request reports