synapse/tests/events
devonh 6a9a641fb8
Bring auto-accept invite logic into Synapse (#17147)
This PR ports the logic from the
[synapse_auto_accept_invite](https://github.com/matrix-org/synapse-auto-accept-invite)
module into synapse.

I went with the naive approach of injecting the "module" next to where
third party modules are currently loaded. If there is a better/preferred
way to handle this, I'm all ears. It wasn't obvious to me if there was a
better location to add this logic that would cleanly apply to all
incoming invite events.

Relies on https://github.com/element-hq/synapse/pull/17166 to fix linter
errors.
2024-05-21 20:09:17 +00:00
..
__init__.py Add some unit tests of prune_events() 2015-10-16 19:56:46 +01:00
test_auto_accept_invites.py Bring auto-accept invite logic into Synapse (#17147) 2024-05-21 20:09:17 +00:00
test_presence_router.py Removed `request_key` from the `SyncConfig` (moved outside as its own function parameter) (#17201) 2024-05-16 11:54:46 -05:00
test_snapshot.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_utils.py Add support for MSC4115 (#17104) 2024-04-29 15:22:13 +01:00