summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 72894869ea..bb1290fd05 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -331,4 +331,15 @@ class MessageHandler(BaseHandler):
 
         defer.returnValue(ret)
 
+    @defer.inlineCallbacks
+    def snapshot_room(self, user_id, room_id, pagin_config=None,
+                      feedback=False):
+        yield self.auth.check_joined_room(room_id, user_id)
 
+        defer.returnValue({
+            #"membership": membership,
+            "room_id": room_id,
+            #"messages": messages,
+            #"state": state,
+            #"presence": presence,
+        })