Rename message handler's new snapshot_room to room_initial_sync() as that better suits its purpose

This commit is contained in:
Paul "LeoNerd" Evans 2014-11-18 16:02:44 +00:00
parent e9f587ecba
commit 75e95c45a2
2 changed files with 2 additions and 2 deletions

View file

@ -295,7 +295,7 @@ class MessageHandler(BaseHandler):
defer.returnValue(ret)
@defer.inlineCallbacks
def snapshot_room(self, user_id, room_id, pagin_config=None,
def room_initial_sync(self, user_id, room_id, pagin_config=None,
feedback=False):
yield self.auth.check_joined_room(room_id, user_id)