Description
My username matches my domain (MXID of the form @<username>:<username>.tld).
As a result, all replies to messages from any other user on my homeserver are highlighted in my Riot session, flooding me with urgent notifications without intended mentions.
Steps to reproduce
Let @alice:alice.tld, @bob:alice.tld and @caroline:alice.tld be three users on the homeserver alice.tld. All three are members of a room in which:
- Bob sends a message that does not mention Alice.
- Caroline replies to Bob's message using the reply feature, still not mentionning Alice.
- Alice's Riot highlights Caroline's message and Alice is notified, even though nobody intended to mention her.
Remediation?
Do not allow partial matches on MXIDs contained in messages for highlighting purposes.
A highlight should require the whole MXID to match.
Version information
- Platforms: all
- Version: 1.4.1