summary refs log tree commit diff
path: root/tests/test_server.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-09-24 16:38:23 +0200
committerGitHub <noreply@github.com>2021-09-24 16:38:23 +0200
commitb10257e87972d158f4b6a0c7d1fe7239014ea10a (patch)
treefb2c4a157dbd541cba7f33323b11f8030ad6f8ed /tests/test_server.py
parentUpdate postgresql testing script (#10906) (diff)
downloadsynapse-b10257e87972d158f4b6a0c7d1fe7239014ea10a.tar.xz
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.
Diffstat (limited to 'tests/test_server.py')
0 files changed, 0 insertions, 0 deletions