mirror of
https://github.com/element-hq/synapse
synced 2024-09-03 09:40:21 +00:00
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_auto_accept_invites.py | ||
test_presence_router.py | ||
test_snapshot.py | ||
test_utils.py |