summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-08-22 10:57:54 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-25 19:10:24 +0100
commit0f7d1c99061075fe54a37cfe785184f095addf78 (patch)
treeffa0d8d64a962e7badf4792ea8c30ac3fc3b28ec /synapse/server.pyi
parentAllow power_level_content_override=None for _send_events_for_new_room (diff)
downloadsynapse-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/server.pyi')
-rw-r--r--synapse/server.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index ce28486233..06cd083a74 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -7,6 +7,9 @@ import synapse.handlers.auth
 import synapse.handlers.deactivate_account
 import synapse.handlers.device
 import synapse.handlers.e2e_keys
+import synapse.handlers.room
+import synapse.handlers.room_member
+import synapse.handlers.message
 import synapse.handlers.set_password
 import synapse.rest.media.v1.media_repository
 import synapse.server_notices.server_notices_manager
@@ -50,6 +53,9 @@ class HomeServer(object):
     def get_room_creation_handler(self) -> synapse.handlers.room.RoomCreationHandler:
         pass
 
+    def get_room_member_handler(self) -> synapse.handlers.room_member.RoomMemberHandler:
+        pass
+
     def get_event_creation_handler(self) -> synapse.handlers.message.EventCreationHandler:
         pass