diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-08-17 14:33:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 14:33:16 +0100 |
commit | 703e3a9e853b7c2212045ec52eb6b2c6e370c6f9 (patch) | |
tree | 71d55c63945eaea57908019a9ec7de1ddd72d47b /synapse/rest/client | |
parent | Remove the unused public_room_list_stream (#10565) (diff) | |
download | synapse-703e3a9e853b7c2212045ec52eb6b2c6e370c6f9.tar.xz |
Allow /createRoom to be run on workers (#10564)
Fixes https://github.com/matrix-org/synapse/issues/7867
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index ed238b2141..c5c54564be 100644 --- a/synapse/rest/client/room.py +++ b/synapse/rest/client/room.py @@ -1141,10 +1141,10 @@ def register_servlets(hs: "HomeServer", http_server, is_worker=False): JoinedRoomsRestServlet(hs).register(http_server) RoomAliasListServlet(hs).register(http_server) SearchRestServlet(hs).register(http_server) + RoomCreateRestServlet(hs).register(http_server) # Some servlets only get registered for the main process. if not is_worker: - RoomCreateRestServlet(hs).register(http_server) RoomForgetRestServlet(hs).register(http_server) |