mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00

This is so clients can accurately calculate the push rule: ``` {"kind":"room_member_count","is":"2"} ``` Also fixed a bug in the global room metadata for the joined/invited counts where it could be wrong because of Synapse sending duplicate join events as we were tracking +-1 deltas. We now calculate these counts based on the set of user IDs in a specific membership state.