mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 02:25:10 +00:00
By getting the joined rooms before the current token we avoid any reading history to confirm a user *was* in a room. We can then use any membership change events, which we already fetch during sync, to determine the final list of joined room IDs.
1 line
98 B
Text
1 line
98 B
Text
Optimise queries used to get a users rooms during sync. Contributed by Nick @ Beeper (@fizzadar).
|