forked-synapse/synapse/events
Eric Eastwood 46de0ee16b
Sliding Sync: Update filters to be robust against remote invite rooms (#17450)
Update `filters.is_encrypted` and `filters.types`/`filters.not_types` to
be robust when dealing with remote invite rooms in Sliding Sync.

Part of
[MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575):
Sliding Sync

Follow-up to https://github.com/element-hq/synapse/pull/17434

We now take into account current state, fallback to stripped state
for invite/knock rooms, then historical state. If we can't determine
the info needed to filter a room (either from state or stripped state),
it is filtered out.
2024-07-30 13:20:29 -05:00
..
__init__.py Sliding Sync: Update filters to be robust against remote invite rooms (#17450) 2024-07-30 13:20:29 -05:00
auto_accept_invites.py Bring auto-accept invite logic into Synapse (#17147) 2024-05-21 20:09:17 +00:00
builder.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence_router.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
snapshot.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
utils.py Sliding Sync: Update filters to be robust against remote invite rooms (#17450) 2024-07-30 13:20:29 -05:00
validator.py Reorganize Pydantic models and types used in handlers (#17279) 2024-06-10 15:03:50 -05:00