Skip to content
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

Appending mxids to display names is strange #14825

Closed
nadonomy opened this issue Jul 30, 2020 · 7 comments · Fixed by matrix-org/matrix-react-sdk#6328 or matrix-org/matrix-react-sdk#8110

Comments

@nadonomy
Copy link
Contributor

nadonomy commented Jul 30, 2020

Screenshot 2020-07-30 at 13 45 51

Screenshot 2020-07-30 at 13 53 14

It appears we have some logic to append mxid's to display names in the member list & on reaction tooltips on occasion, presumably when multiple matching display names are detected.

The current implementation suffers from poor legibility when scanning, harming usability.

We should consider either (a) not doing this at all, leveraging the social dynamics of people using different display names/profile pictures/contextual mxid's in profiles (b) if we need to explicitly print mxid's, stylising them differently

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2020

not doing this at all,

Huge privacy issue

@nadonomy
Copy link
Contributor Author

nadonomy commented Jul 30, 2020

not doing this at all,

Huge privacy issue

I'm not sure it's this black and white at all— mxid's are available contextually, through hover interactions, when accepting invites etc, and through master/detail views (e.g. member profiles). There are likely other opportunities too in other hover interactions (like, when we display admin/mod on hover).

@babolivier
Copy link
Contributor

I'm also seeing the issue with my account, but only in some rooms, following splitting my Matrix activity between two accounts last week (so in a bunch of rooms I had my previous account invite the new then leave). In some of these rooms Element displays me as "Brendan Abolivier", in some others "Brendan Abolivier ([my new MXID])", despite the fact that in both cases there's only my new account in the room (the previous one has left).
I've rageshaken in case logs help.

@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2020

Sure but I can come into a room, craft an mxid and have the same displayname avatar and colour as you and impersonate you

@aaronraimist
Copy link
Collaborator

This has been pretty much fixed now in the timeline by matrix-org/matrix-react-sdk#5880

Would be nice to bring a similar change to the right panel

@SimonBrandner
Copy link
Contributor

Would be nice to bring a similar change to the right panel

/me adds it to his TODO list

@aaronraimist
Copy link
Collaborator

Reopening since it was reverted. New PR is matrix-org/matrix-react-sdk#8110

@aaronraimist aaronraimist reopened this Mar 22, 2022
kegsay added a commit to matrix-org/matrix-react-sdk that referenced this issue Apr 14, 2022
* Release threads as a beta feature ([\#8081](#8081)). Fixes element-hq/element-web#21351.
* More video rooms design updates ([\#8222](#8222)).
* Update video rooms to new design specs ([\#8207](#8207)). Fixes element-hq/element-web#21515, element-hq/element-web#21516 element-hq/element-web#21519 and element-hq/element-web#21526.
* Live Location Sharing - left panel warning with error ([\#8201](#8201)).
* Live location sharing - Stop publishing location to beacons with consecutive errors ([\#8194](#8194)).
* Live location sharing: allow retry when stop sharing fails ([\#8193](#8193)).
* Allow voice messages to be scrubbed in the timeline ([\#8079](#8079)). Fixes element-hq/element-web#18713.
* Live location sharing - stop sharing to beacons in rooms you left ([\#8187](#8187)).
* Allow sending and thumbnailing AVIF images ([\#8172](#8172)).
* Live location sharing - handle geolocation errors ([\#8179](#8179)).
* Show voice room participants when not connected ([\#8136](#8136)). Fixes element-hq/element-web#21513.
* Add margins between labs sections ([\#8169](#8169)).
* Live location sharing - send geolocation beacon events - happy path ([\#8127](#8127)).
* Add support for Animated (A)PNG ([\#8158](#8158)). Fixes element-hq/element-web#12967.
* Don't form continuations from thread roots ([\#8166](#8166)). Fixes element-hq/element-web#20908.
* Improve handling of animated GIF and WEBP images ([\#8153](#8153)). Fixes element-hq/element-web#16193 and element-hq/element-web#6684.
* Wire up file preview for video files ([\#8140](#8140)). Fixes element-hq/element-web#21539.
* When showing thread, always auto-focus its composer ([\#8115](#8115)). Fixes element-hq/element-web#21438.
* Live location sharing - refresh beacon expiry in room ([\#8116](#8116)).
* Use styled mxids in member list v2 ([\#8110](#8110)). Fixes element-hq/element-web#14825. Contributed by @SimonBrandner.
* Delete groups (legacy communities system) ([\#8027](#8027)). Fixes element-hq/element-web#17532.
* Add a prototype of voice rooms in labs ([\#8084](#8084)). Fixes element-hq/element-web#3546.
* Fix editing `<ol>` tags with a non-1 start attribute ([\#8211](#8211)). Fixes element-hq/element-web#21625.
* Fix URL previews being enabled when room first created ([\#8227](#8227)). Fixes element-hq/element-web#21659.
* Don't use m.call for Jitsi video rooms ([\#8223](#8223)).
* Scale emoji with size of surrounding text ([\#8224](#8224)).
* Make "Jump to date" translatable ([\#8218](#8218)).
* Normalize call buttons ([\#8129](#8129)). Fixes element-hq/element-web#21493. Contributed by @luixxiul.
* Show room preview bar with maximised widgets ([\#8180](#8180)). Fixes element-hq/element-web#21542.
* Update more strings to not wrongly mention room when it is/could be a space ([\#7722](#7722)). Fixes element-hq/element-web#20243 and element-hq/element-web#20910.
* Fix issue with redacting via edit composer flow causing stuck editStates ([\#8184](#8184)).
* Fix some image/video scroll jumps ([\#8182](#8182)).
* Fix "react error on share dialog" ([\#8170](#8170)). Contributed by @yaya-usman.
* Fix disambiguated profile in threads in bubble layout ([\#8168](#8168)). Fixes element-hq/element-web#21570. Contributed by @SimonBrandner.
* Responsive BetaCard on Labs ([\#8154](#8154)). Fixes element-hq/element-web#21554. Contributed by @luixxiul.
* Display button as inline in room directory dialog ([\#8164](#8164)). Fixes element-hq/element-web#21567. Contributed by @luixxiul.
* Null guard TimelinePanel unmount edge ([\#8171](#8171)).
* Fix beta pill label breaking ([\#8162](#8162)). Fixes element-hq/element-web#21566. Contributed by @luixxiul.
* Strip relations when forwarding ([\#7929](#7929)). Fixes element-hq/element-web#19769, element-hq/element-web#18067 element-hq/element-web#21015 and element-hq/element-web#10924.
* Don't try (and fail) to show replies for redacted events ([\#8141](#8141)). Fixes element-hq/element-web#21435.
* Fix 3pid member info for space member list ([\#8128](#8128)). Fixes element-hq/element-web#21534.
* Set max-width to user context menu ([\#8089](#8089)). Fixes element-hq/element-web#21486. Contributed by @luixxiul.
* Fix issue with falsey hrefs being sent in events ([\#8113](#8113)). Fixes element-hq/element-web#21417.
* Make video sizing consistent with images ([\#8102](#8102)). Fixes element-hq/element-web#20072.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants