summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 16:02:44 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-11-18 16:02:44 +0000
commit75e95c45a2da90528261c028e97e60a493106c5a (patch)
tree27752b5e20cbe387bc2183db2adaee968f2e0922 /synapse/rest
parentMerge remote-tracking branch 'origin/develop' into room-initial-sync (diff)
downloadsynapse-75e95c45a2da90528261c028e97e60a493106c5a.tar.xz
Rename message handler's new snapshot_room to room_initial_sync() as that better suits its purpose
Diffstat (limited to '')
-rw-r--r--synapse/rest/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/room.py b/synapse/rest/room.py
index 393d6284f5..e656dd3f35 100644
--- a/synapse/rest/room.py
+++ b/synapse/rest/room.py
@@ -362,7 +362,7 @@ class RoomInitialSyncRestServlet(RestServlet):
     @defer.inlineCallbacks
     def on_GET(self, request, room_id):
         user = yield self.auth.get_user_by_req(request)
-        events = yield self.handlers.message_handler.snapshot_room(
+        events = yield self.handlers.message_handler.room_initial_sync(
             room_id=room_id,
             user_id=user.to_string(),
         )