forked-synapse/synapse
Eric Eastwood 8aaff851b1
Fix newly_left rooms not appearing if we returned early (Sliding Sync) (#17301)
Fix `newly_left` rooms not appearing if we returned early when `membership_snapshot_token.is_before_or_eq(to_token.room_key)`. 

Introduced in https://github.com/element-hq/synapse/pull/17187 (part of Sliding Sync)

The tests didn't catch it because they had a small typo in it `room_id1` vs `room_id2`.

Found while working on https://github.com/element-hq/synapse/pull/17293
2024-06-13 11:36:57 -05:00
..
_scripts Replaces all usages of StreamIdGenerator with MultiWriterIdGenerator (#17229) 2024-05-30 11:07:32 +00:00
api Add Sliding Sync /sync endpoint (initial implementation) (#17187) 2024-06-06 14:44:32 -05:00
app Fix sentry default tags (#17251) 2024-05-31 11:27:47 +01:00
appservice Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
config Add report room API (MSC4151) (#17270) 2024-06-12 12:27:46 +02:00
crypto Only do one concurrent fetch per server in keyring (#16894) 2024-02-09 10:51:11 +00:00
events Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
federation Support MSC3916 by adding a federation /download endpoint (#17172) 2024-06-07 13:54:28 +01:00
handlers Fix newly_left rooms not appearing if we returned early (Sliding Sync) (#17301) 2024-06-13 11:36:57 -05:00
http Ratelimiting of remote media downloads (#17256) 2024-06-05 13:43:36 +01:00
logging Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
media Support MSC3916 by adding a federation /download endpoint (#17172) 2024-06-07 13:54:28 +01:00
metrics Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
module_api Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
push Add support for MSC4115 (#17104) 2024-04-29 15:22:13 +01:00
replication Improve perf of sync device lists (#17216) 2024-05-21 16:48:20 +01:00
res Send an email if the address is already bound to an user account (#16819) 2024-04-23 16:45:24 +01:00
rest Clarify that MSC4151 is enabled on matrix.org (#17296) 2024-06-13 13:49:00 +00:00
server_notices Merge remote-tracking branch 'gitlab/clokep/license-license' into new_develop 2023-12-13 15:11:56 +00:00
spam_checker_api Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
static Update link to the clients webpage, fix #15825 (#15874) 2023-07-06 17:28:09 +02:00
storage Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
streams Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
synapse_rust Add event.internal_metadata.instance_name (#17300) 2024-06-13 11:32:50 -05:00
types Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00
util Add logging to tasks managed by the task scheduler, showing CPU and database usage. (#17219) 2024-05-22 14:12:58 +01:00
__init__.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
_pydantic_compat.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
event_auth.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
notifier.py In sync wait for worker to catch up since token (#17215) 2024-05-30 14:03:49 +01:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
server.py Add Sliding Sync /sync endpoint (initial implementation) (#17187) 2024-06-06 14:44:32 -05:00
visibility.py Wrong retention policy being used when filtering events (lint ControlVarUsedAfterBlockViolation WPS441) (#17272) 2024-06-10 09:48:38 -05:00