summary refs log tree commit diff
path: root/tests/module_api/test_spamchecker.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add user_may_send_state_event callback to spam checker module API (#18455)Hugh Nimmo-Smith2025-06-041-0/+89
|
* Pass room_config argument to user_may_create_room spam checker module ↵Hugh Nimmo-Smith2025-06-041-0/+155
callback (#18486) This PR adds an additional `room_config` argument to the `user_may_create_room` spam checker module API callback. It will continue to work with implementations of `user_may_create_room` that do not expect the additional parameter. A side affect is that on a room upgrade the spam checker callback is called *after* doing some work to calculate the state rather than before. However, I hope that this is acceptable given the relative infrequency of room upgrades.