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

[Matrix] Matterbridge always uses the latest room specific display name everywhere #1336

Open
Mikaela opened this issue Dec 16, 2020 · 3 comments
Labels

Comments

@Mikaela
Copy link

Mikaela commented Dec 16, 2020

Describe the bug

When I change my room display name in one room, I suddenly see it as my name through the Matterbridge instance everywhere.

To Reproduce

  1. Bridge two Matrix rooms
  2. /devtools, explore room state, m.room.id, change your display name, send the event
    • it may also be possible to use /myroomnick
  3. start talking in another room
  4. observe your name having changed there too through matterbridge.

Expected behavior

I expect to see the original name in where I didn't change my name.

Screenshots/debug logs

I cannot debug logs now.

Environment (please complete the following information):

Additional context

  • I am assuming Element is being used as the Matrix client.
  • This may also affect avatars, but I don't have a Discord where I would see that.
  • If I am missing something important from this issue to help with reproduction, please let me know and I will add it ASAP.
@Mikaela Mikaela added the bug label Dec 16, 2020
@42wim 42wim added the matrix label Jan 1, 2021
nightmared added a commit to nightmared/matterbridge that referenced this issue Jul 8, 2021
nightmared added a commit to nightmared/matterbridge that referenced this issue Jul 8, 2021
nightmared added a commit to nightmared/matterbridge that referenced this issue Jul 9, 2021
@lukaszpolowczyk
Copy link

Question / Suggestion:
Will it be possible to set the username for all rooms in Space at once?

@42wim
Copy link
Owner

42wim commented Aug 1, 2021

It's not supported yet upstream, so maybe when the matrix API has support for this we can integrate it.
matrix-org/matrix-spec-proposals#3189

@42wim 42wim removed the bug label Aug 1, 2021
@tulir
Copy link

tulir commented Aug 16, 2021

Per-room profiles are supported upstream, they have existed since the beginning. That MSC is primarily for space-wide profiles.

there is no way to fetch the nick per room using the matrix API ?

GET /_matrix/client/r0/rooms/!roomid:foo.bar/state/m.room.member/@user:example.com (aka mc.StateEvent("!roomid:foo.bar", "m.room.member", "@user:example.com", &outContent)) will return the membership event content, which includes the room-specific displayname and avatar.

{
  "membership": "join",
  "displayname": "user",
  "avatar_url": "mxc://example.com/mediaid"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants