diff options
author | Hugh Nimmo-Smith <hughns@users.noreply.github.com> | 2025-06-04 11:30:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-04 11:30:45 +0100 |
commit | fbe7a898f0380aa194c26b71eccf029d0ac47b5c (patch) | |
tree | 479a0222b3192614d2a863d102c533e5c4ef5c23 /synapse/module_api/callbacks/__init__.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-fbe7a898f0380aa194c26b71eccf029d0ac47b5c.tar.xz |
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.
Diffstat (limited to 'synapse/module_api/callbacks/__init__.py')
0 files changed, 0 insertions, 0 deletions