-
- Downloads
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.
Showing
- changelog.d/10898.feature 1 addition, 0 deletionschangelog.d/10898.feature
- docs/modules/spam_checker_callbacks.md 29 additions, 0 deletionsdocs/modules/spam_checker_callbacks.md
- synapse/events/spamcheck.py 42 additions, 0 deletionssynapse/events/spamcheck.py
- synapse/handlers/room.py 10 additions, 4 deletionssynapse/handlers/room.py
- tests/rest/client/test_rooms.py 117 additions, 2 deletionstests/rest/client/test_rooms.py
Loading
Please register or sign in to comment