diff --git a/develop/modules/spam_checker_callbacks.html b/develop/modules/spam_checker_callbacks.html index e6d41cb32e..8fc6a4801f 100644 --- a/develop/modules/spam_checker_callbacks.html +++ b/develop/modules/spam_checker_callbacks.html @@ -320,11 +320,14 @@ this callback.

Changed in Synapse v1.132.0: Added the room_config argument. Callbacks that only expect a single user_id argument are still supported.

async def user_may_create_room(user_id: str, room_config: synapse.module_api.JsonDict) -> Union["synapse.module_api.NOT_SPAM", "synapse.module_api.errors.Codes", bool]
 
-

Called when processing a room creation request.

+

Called when processing a room creation or room upgrade request.

The arguments passed to this callback are:

The callback must return one of: