Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Notify "roomlist" updates to federated users
When a participant is invited or disinvited to a conversation, or a session is removed, the affected user receives a "roomlist" message with type "invite" or "disinvite", while the rest of users in the conversation receive a "roomlist" message with type "update" and a "participant-list: refresh" property. Now both federated users and local users receive the "roomlist" update. Local users are also notified with a "roomlist" update when the properties of the room change. However, in that case the signaling server of federated users will be notified by the federated Nextcloud server when the property changes are propagated to it, so there is no need to notify federated users from the remote Nextcloud server in that case. Note, however, that independently of the users explicitly notified with the "userids" parameter (which can include inactive participants) that receive the "roomlist" message, the signaling server automatically notifies all active participants in a conversation when it is modified, so active federated users will receive a "room" message with the updated properties (which may never be reflected in the proxy conversation, as some properties are not propagated to the federated conversations). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
- Loading branch information