synapse/synapse
Erik Johnston cacd4fd7bd
Fix MSC4222 returning full state (#17915)
There was a bug that meant we would return the full state of the room on
incremental syncs when using lazy loaded members and there were no
entries in the timeline.

This was due to trying to use `state_filter or state_filter.all()` as a
short hand for handling `None` case, however `state_filter` implements
`__bool__` so if the state filter was empty it would be set to full.

c.f. MSC4222 and #17888
2024-11-08 16:41:24 +00:00
..
_scripts Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
api Reduce overhead of sliding sync E2EE loops (#17771) 2024-09-30 13:00:14 +01:00
app Add missing license header (#17799) 2024-10-08 12:01:44 +01:00
appservice Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
config Add experimental support for MSC4222 (#17888) 2024-11-05 14:45:57 +00:00
crypto Fix fetching signing keys when old_verify_keys is omitted (#17568) 2024-08-14 14:13:56 +01:00
events import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
federation Include the destination in the error of 'Destination mismatch' (#17830) 2024-10-29 10:09:25 +00:00
handlers Fix MSC4222 returning full state (#17915) 2024-11-08 16:41:24 +00:00
http Remove usage of internal header encoding API (#17894) 2024-11-04 12:20:07 -06:00
logging Fix other unit tests with latest twisted (#17907) 2024-11-07 10:11:13 +00:00
media Fix saving of non-RGB thumbnails as PNG (#17736) 2024-10-08 18:32:25 +01:00
metrics Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
module_api Bump mypy from 1.5.1 to 1.8.0 (#16901) 2024-03-13 17:05:57 +00:00
push Implement MSC4210: Remove legacy mentions (#17783) 2024-10-14 14:24:28 +01:00
replication Add missing license header (#17799) 2024-10-08 12:01:44 +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 Add experimental support for MSC4222 (#17888) 2024-11-05 14:45:57 +00:00
server_notices Format files with Ruff (#17643) 2024-09-02 12:39:04 +01: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 Fix MSC4222 returning full state (#17915) 2024-11-08 16:41:24 +00:00
streams Fix regression when bounding future tokens (#17391) 2024-07-02 14:06:36 +01:00
synapse_rust Implement MSC4210: Remove legacy mentions (#17783) 2024-10-14 14:24:28 +01:00
types Fix MSC4222 returning full state (#17915) 2024-11-08 16:41:24 +00:00
util Fix WheelTimer implementation that can expired timeout early (#17850) 2024-11-05 12:08:17 -06:00
__init__.py Remove support for python 3.8 (#17908) 2024-11-06 19:36:01 +00:00
_pydantic_compat.py import pydantic objects from the _pydantic_compat module (#17667) 2024-09-11 21:01:43 +00:00
event_auth.py Support MSC3757: Restricting who can overwrite a state event (#17513) 2024-09-26 15:25:05 +02:00
notifier.py Optimise notifier mk2 (#17766) 2024-09-30 13:32:31 +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 admin handler to list of handlers used for background tasks (#17847) 2024-10-29 13:50:13 -05:00
visibility.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00