-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
On my custom server, preview invitations contains matrixid instead of displayname #2124
Comments
Actually it doesn't concern only the "new chat" (Direct Message) rooms but also the normal rooms. |
is it an issue with the room_invite_state_types parameter in hs config? |
@erikjohnston has promised to look at this! \o/ |
The issue is that, in these conditions, we do not understand why matrix.org sends several room states whereas Jean's local HS sends only one, the invite. |
@manuroe I'm not sure I follow. What differences are you seeing in the /sync responses? |
Oh, I've reproduced where sync only returns the invite event: {
"rooms": {
"leave": {},
"join": {},
"invite": {
"!htCVufIoLwrPeOhvDL:localhost:8480": {
"invite_state": {
"events": [
{
"origin_server_ts": 1493217947194,
"sender": "@test2:localhost:8480",
"event_id": "$149321794732yVvhM:localhost:8480",
"unsigned": {
"age": 114541
},
"state_key": "@test:localhost:8480",
"content": {
"membership": "invite",
"avatar_url": "mxc://localhost:8480/eRLOMMwLePpxziytumrHyLEB",
"displayname": "Bob"
},
"membership": "invite",
"type": "m.room.member"
}
]
}
}
}
}
} |
Should be fixed on develop now |
Thanks @erikjohnston ! I'm going to test it |
I use a home server recently created and not federated.
On this hs, I have user 1 and user 2, both have display names.
These both users share the same room (non public) with plenty of other users. So they should know each other display names.
To reproduce:
On user2, I'm expecting a preview invitation with the display name of user 1.
Instead the preview invitation is named with the matrix id of user1.
I won't have this problem if I use matrix.org.
The text was updated successfully, but these errors were encountered: