Checklist
In which Project did the bug appear?
Other
If you selected "Other" as Project, please enter in which project the bug occurred.
No response
On which platform did the bug appear?
Android, iOS
SDK Version
No response
Describe the problem caused by this bug
From krille-chan/fluffychat#2731 :
While m.mentions are included in events that explicitly mention users, the entry is completely omitted in events that do not explicitly mention an entity.
This means events that do not mention anyone will trigger legacy mentions, which is undesired behaviour in today's spec: https://spec.matrix.org/v1.17/client-server-api/#user-and-room-mentions:~:text=it%20is%20recommended%20that%20clients%20still%20include%20a%20m.mentions%20property%20on%20each%20event
Steps To Reproduce
- Send an event with a mention - it includes m.mentions
- Send an event with someone's localpart - it does not include m.mentions, but still (unintentionally) mentions them
Screenshots or Logs
No response
Security related
No response
Checklist
In which Project did the bug appear?
Other
If you selected "Other" as Project, please enter in which project the bug occurred.
No response
On which platform did the bug appear?
Android, iOS
SDK Version
No response
Describe the problem caused by this bug
From krille-chan/fluffychat#2731 :
Steps To Reproduce
Screenshots or Logs
No response
Security related
No response