synapse-product/synapse/events
Brendan Abolivier b10257e879
Add a spamchecker callback to allow or deny room creation based on invites (#10898)
This is in the context of creating new module callbacks that modules in https://github.com/matrix-org/synapse-dinsic can use, in an effort to reconcile the spam checker API in synapse-dinsic with the one in mainline.

This adds a callback that's fairly similar to user_may_create_room except it also allows processing based on the invites sent at room creation.
2021-09-24 16:38:23 +02:00
..
__init__.py Include outlier status in str(event) for V2/V3 events (#10879) 2021-09-22 12:30:59 +01:00
builder.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
presence_router.py Port the PresenceRouter module interface to the new generic interface (#10524) 2021-08-17 13:22:45 +00:00
snapshot.py Factor out a separate EventContext.for_outlier (#10883) 2021-09-22 17:58:57 +01:00
spamcheck.py Add a spamchecker callback to allow or deny room creation based on invites (#10898) 2021-09-24 16:38:23 +02:00
third_party_rules.py Use direct references for configuration variables (part 5). (#10897) 2021-09-24 07:25:21 -04:00
utils.py Rename MSC2716 things from chunk to batch to match /batch_send endpoint (#10838) 2021-09-21 15:06:28 -05:00
validator.py Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00