Matterbridge: Two Matrix users can use the same display name and Matterbridge makes no distinguishion

Created on 22 Nov 2020  路  1Comment  路  Source: 42wim/matterbridge

Describe the bug

Two users at Matrix set the same display name and Matterbridge shows them both the same way.

To Reproduce

  1. Join a Matterbridged room using two accounts.
  2. Run /myroomnick Nick as both.
  3. Send messages to the room using both accounts.

Expected behavior

Generally Matrix clients (Element) resolve this by showing the MXID in brackets after duplciate display names:

  • Nick (@account2:example.net)
  • Nick (@account1:example.com)

Screenshots/debug logs

  • image

    • This screenshot could be a bit better as one Element didn't yet notice the other using the same name while clearing cache would likely bring out the brackets due to collision.

  • image
  • Debug log: N/A

Environment (please complete the following information):

  • OS: Linux
  • Matterbridge version: v1.20.0

Additional context

I think this was introduced by https://github.com/42wim/matterbridge/pull/1282, CC: @nightmared. Otherwise thank you for making Matrix users more readable through Matterbridge, this has been waited for 馃憤馃徎

bug matrix

Most helpful comment

Hmm you're right, that's definitely a big problem. I should be able to make a fix in a day or two. Thanks for CC-ing me ;)

>All comments

Hmm you're right, that's definitely a big problem. I should be able to make a fix in a day or two. Thanks for CC-ing me ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cwchristerw picture cwchristerw  路  6Comments

jurgenhaas picture jurgenhaas  路  5Comments

nylen picture nylen  路  6Comments

illwieckz picture illwieckz  路  4Comments

benrob0329 picture benrob0329  路  3Comments