synapse/tests/module_api
Hugh Nimmo-Smith fbe7a898f0
Pass room_config argument to user_may_create_room spam checker module 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.
2025-06-04 11:30:45 +01:00
..
__init__.py
test_account_data_manager.py Format files with Ruff (#17643) 2024-09-02 12:39:04 +01:00
test_api.py Require the 'from' parameter for /notifications be an integer (#17283) 2024-06-19 10:05:39 +01:00
test_event_unsigned_addition.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
test_spamchecker.py Pass room_config argument to user_may_create_room spam checker module callback (#18486) 2025-06-04 11:30:45 +01:00