MatrixSynapse/synapse/events
Brendan Abolivier 4e51621064
Add a spamchecker method to allow or deny 3pid invites (#10894)
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.

Note that a module callback already exists for 3pid invites (https://matrix-org.github.io/synapse/develop/modules/third_party_rules_callbacks.html#check_threepid_can_be_invited) but it doesn't check whether the sender of the invite is allowed to send it.
2021-10-06 17:18:13 +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 `RoomVersion` objects (#10934) 2021-09-29 10:57:10 +01:00
presence_router.py Use direct references for configuration variables (part 6). (#10916) 2021-09-29 06:44:15 -04:00
snapshot.py Factor out a separate `EventContext.for_outlier` (#10883) 2021-09-22 17:58:57 +01:00
spamcheck.py Add a spamchecker method to allow or deny 3pid invites (#10894) 2021-10-06 17:18:13 +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 Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 2021-09-30 11:13:59 -04:00
validator.py Use direct references for some configuration variables (#10798) 2021-09-13 13:07:12 -04:00