-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message previews use mxid instead of display name when mentioning users #16262
Comments
Event source:
sorunome is probably using another client than element to send this message. this issue might stem from the fact that pills are not specced (to my knowledge?). however if element resolves |
The issue is their Pills don't contain the Display Name in the fallback as they ought to:
Resolving pills in message previews across the entire breadth of rooms a user is in could end up being quite computationally expensive as they can yield network requests per-pill |
If this is specced ("When mentioning users, use the user's potentially ambiguous display name for the anchor's text. If the user does not have a display name, use the user's ID."), then the root of this issue lies at another client, but there is still room for element to be nice and try to improve the situation. Edit: imo, element is to blame partially for this issue by resolving the name at one place, but not the other. How about updating the preview after the message window resolved the display name and notices it is different from the given fallback? Next to no additional cost and increases consistency ("UX"). |
No additional computational cost, but a lot of software complexity around plumbing that together in React. Given that it doesn't show bolds, strikethroughs, etc, it is already chosen to be inconsistent. |
Description
Mentioning a user usually inserts a "pill" which Element resolves to a user's display name. This isn't done for the message preview and thus inconsistent and confusing.
Logs being sent: no
Version information
Kind of related maybe: element-hq/element-meta#1603
The text was updated successfully, but these errors were encountered: