diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2024-04-04 12:47:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 12:47:59 +0100 |
commit | 05957ac70f5d634eafbea61bd79a9a89196507c2 (patch) | |
tree | 760e6a6310abfc7ca0c5a2822c5ca1e93a496e86 /AUTHORS.rst | |
parent | Add missing index to `access_tokens` table (#17045) (diff) | |
download | synapse-05957ac70f5d634eafbea61bd79a9a89196507c2.tar.xz |
Fix bug in `/sync` response for archived rooms (#16932)
This PR fixes a very, very niche edge-case, but I've got some more work coming which will otherwise make the problem worse. The bug happens when the syncing user leaves a room, and has a sync filter which includes "left" rooms, but sets the timeline limit to 0. In that case, the state returned in the `state` section is calculated incorrectly. The fix is to pass a token corresponding to the point that the user leaves the room through to `compute_state_delta`.
Diffstat (limited to 'AUTHORS.rst')
0 files changed, 0 insertions, 0 deletions