You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Called when processing a room creation or room upgrade request.
199
199
200
200
The arguments passed to this callback are:
201
201
202
202
*`user_id`: The Matrix user ID of the user (e.g. `@alice:example.com`).
203
-
*`room_config`: The contents of the body of a [/createRoom request](https://spec.matrix.org/latest/client-server-api/#post_matrixclientv3createroom) as a dictionary.
203
+
*`room_config`: The contents of the body of the [`/createRoom` request](https://spec.matrix.org/v1.15/client-server-api/#post_matrixclientv3createroom) as a dictionary.
204
+
For a [room upgrade request](https://spec.matrix.org/v1.15/client-server-api/#post_matrixclientv3roomsroomidupgrade) it is a synthesised subset of what an equivalent
205
+
`/createRoom` request would have looked like. Specifically, it contains the `creation_content` (linking to the previous room) and`initial_state` (containing a
206
+
subset of the state of the previous room).
204
207
205
208
The callback must return one of:
206
209
-`synapse.module_api.NOT_SPAM`, to allow the operation. Other callbacks may still
0 commit comments