mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 17:19:23 -05:00
Fix v2 initial sync
This commit is contained in:
parent
8e571cbed8
commit
4d9dd9bdc0
@ -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):
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user