diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-08-22 10:57:54 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-25 19:10:24 +0100 |
commit | 0f7d1c99061075fe54a37cfe785184f095addf78 (patch) | |
tree | ffa0d8d64a962e7badf4792ea8c30ac3fc3b28ec /synapse/rest/__init__.py | |
parent | Allow power_level_content_override=None for _send_events_for_new_room (diff) | |
download | synapse-0f7d1c99061075fe54a37cfe785184f095addf78.tar.xz |
Basic initial support for room upgrades
Currently just creates a new, empty, room, and sends a tombstone in the old room.
Diffstat (limited to 'synapse/rest/__init__.py')
-rw-r--r-- | synapse/rest/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/__init__.py b/synapse/rest/__init__.py index 4856822a5d..5f35c2d1be 100644 --- a/synapse/rest/__init__.py +++ b/synapse/rest/__init__.py @@ -47,6 +47,7 @@ from synapse.rest.client.v2_alpha import ( register, report_event, room_keys, + room_upgrade_rest_servlet, sendtodevice, sync, tags, @@ -116,3 +117,4 @@ class ClientRestResource(JsonResource): sendtodevice.register_servlets(hs, client_resource) user_directory.register_servlets(hs, client_resource) groups.register_servlets(hs, client_resource) + room_upgrade_rest_servlet.register_servlets(hs, client_resource) |