mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
b10257e879
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.
1 line
176 B
Gherkin
1 line
176 B
Gherkin
Add a `user_may_create_room_with_invites` spam checker callback to allow modules to allow or deny a room creation request based on the invites and/or 3PID invites it includes.
|