You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alice joins the room first over federation. Proxy does the right thing and sets her membership to join. There is no timeline though due to not having backfilled.
Alice's client backfills in the room which pulls in the invite event, but the SS proxy doesn't see it as it's backfill, not /sync.
Charlie joins the same room via SS, which makes the SS proxy see 50 timeline events, which includes the invite. As the proxy has never seen this invite event before, it assumes it is newer than the join event and inserts it, corrupting state.
To fix this:
SELECT nids for all events prior to insertion.
Find the lowest-index which has a NID and drop all events earlier than this as they are backfilled.
Discard the state block when this happens, as it cannot be trusted to do the right thing now that we are dropping parts of the timeline.
The text was updated successfully, but these errors were encountered:
Consider:
To fix this:
The text was updated successfully, but these errors were encountered: