diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2021-10-06 17:18:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 17:18:13 +0200 |
commit | 4e5162106436f3fddd12561d316d19fd23148800 (patch) | |
tree | 1b0737fc34d70bfd42f581a4b126ee448566cba2 /changelog.d | |
parent | Require direct references to configuration variables. (#10985) (diff) | |
download | synapse-4e5162106436f3fddd12561d316d19fd23148800.tar.xz |
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.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/10894.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10894.feature b/changelog.d/10894.feature new file mode 100644 index 0000000000..a4f968bed1 --- /dev/null +++ b/changelog.d/10894.feature @@ -0,0 +1 @@ +Add a `user_may_send_3pid_invite` spam checker callback for modules to allow or deny 3PID invites. |