mirror of
https://github.com/element-hq/synapse
synced 2024-06-28 11:33:33 +00:00
Do not call get_un_partial_stated_rooms_between on initial sync
This commit is contained in:
parent
6472178a41
commit
7b60abea53
|
@ -1819,8 +1819,12 @@ class SyncHandler:
|
|||
|
||||
# Retrieve rooms that got un partial stated in the meantime, only useful in case
|
||||
# of a non lazy-loading-members sync.
|
||||
# We also skip calculating that in case of initial sync since we don't need it.
|
||||
un_partial_stated_rooms = set()
|
||||
if not sync_result_builder.sync_config.filter_collection.lazy_load_members():
|
||||
if (
|
||||
since_token
|
||||
and not sync_result_builder.sync_config.filter_collection.lazy_load_members()
|
||||
):
|
||||
un_partial_stated_rooms_since = 0
|
||||
if sync_result_builder.since_token is not None:
|
||||
un_partial_stated_rooms_since = (
|
||||
|
|
Loading…
Reference in a new issue