Open anoadragon453 opened 2 years ago
Probably makes sense to make sure that m.signing_key_update
is sent in that case too.
Note that when a user joins a room, that user's /sync
stream is populated with all other user IDs from the room: https://github.com/matrix-org/synapse/blob/a19d01c3d95f5dbd3a4bb181cb70dacd44135a8b/synapse/handlers/sync.py#L1277-L1280
But that still doesn't help remote users when we join a room.
The spec says that:
Which to be clear, means that upon a local user joining a room, we should:
It doesn't appear that Synapse actually does this anywhere, currently.
We also need to do this for presence (https://github.com/matrix-org/synapse/issues/8956), but the current presence-related TODO in the code may be a good inspiration for what a device list related implementation would look like:
https://github.com/matrix-org/synapse/blob/75ca0a6168f92dab3255839cf85fb0df3a0076c3/synapse/handlers/presence.py#L1368-L1379