Skip to content
Snippets Groups Projects
Commit 4d9dd9bd authored by Mark Haines's avatar Mark Haines
Browse files

Fix v2 initial sync

parent 8e571cbe
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ class SyncHandler(BaseHandler): ...@@ -157,7 +157,7 @@ class SyncHandler(BaseHandler):
)) ))
@defer.inlineCallbacks @defer.inlineCallbacks
def intial_sync_for_room(self, room_id, sync_config, now_token, def initial_sync_for_room(self, room_id, sync_config, now_token,
published_room_ids): published_room_ids):
"""Sync a room for a client which is starting without any state """Sync a room for a client which is starting without any state
Returns: Returns:
...@@ -180,6 +180,7 @@ class SyncHandler(BaseHandler): ...@@ -180,6 +180,7 @@ class SyncHandler(BaseHandler):
prev_batch=prev_batch_token, prev_batch=prev_batch_token,
state=current_state_events, state=current_state_events,
limited=True, limited=True,
typing=None,
)) ))
@defer.inlineCallbacks @defer.inlineCallbacks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment