summary refs log tree commit diff
path: root/synapse/module_api/callbacks/__init__.py
diff options
context:
space:
mode:
authorHugh Nimmo-Smith <hughns@users.noreply.github.com>2025-06-04 11:30:45 +0100
committerGitHub <noreply@github.com>2025-06-04 11:30:45 +0100
commitfbe7a898f0380aa194c26b71eccf029d0ac47b5c (patch)
tree479a0222b3192614d2a863d102c533e5c4ef5c23 /synapse/module_api/callbacks/__init__.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-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