Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Track whether our server is in the room. #256

Closed
NegativeMjark opened this issue Sep 22, 2017 · 2 comments
Closed

Track whether our server is in the room. #256

NegativeMjark opened this issue Sep 22, 2017 · 2 comments

Comments

@NegativeMjark
Copy link
Contributor

For each room in the room server we need to know whether our server is still in the room.
Otherwise horrible things will happen if we try to rejoin a room the server has left.
The client API will use this information to tell whether a user can join the room locally or if it will need to contact another server. If this information is wrong it will try to rejoin locally using the stale room state.
We need to know this information in the roomserver to tell if our forward extremities are still valid, otherwise the roomserver will try to merge the stale state with the current state.

Implementing this could have some overlap with #215

If we want to support vhosting then this should reflect whether any of the servers we are are in the room.

@kegsay
Copy link
Member

kegsay commented Aug 14, 2020

@neilalexander I think we do this pretty good now?

@neilalexander
Copy link
Contributor

Yes, this is done.

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

No branches or pull requests

4 participants