mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 07:20:20 +00:00
Run black
This commit is contained in:
parent
e01b43ad78
commit
71c4fd8e08
1 changed files with 6 additions and 2 deletions
|
@ -1383,7 +1383,9 @@ class SyncHandler:
|
||||||
if not sync_config.filter_collection.lazy_load_members():
|
if not sync_config.filter_collection.lazy_load_members():
|
||||||
# Non-lazy syncs should never include partially stated rooms.
|
# Non-lazy syncs should never include partially stated rooms.
|
||||||
# Exclude all partially stated rooms from this sync.
|
# Exclude all partially stated rooms from this sync.
|
||||||
results = await self.store.is_partial_state_room_batched(mutable_joined_room_ids)
|
results = await self.store.is_partial_state_room_batched(
|
||||||
|
mutable_joined_room_ids
|
||||||
|
)
|
||||||
mutable_rooms_to_exclude.update(
|
mutable_rooms_to_exclude.update(
|
||||||
room_id
|
room_id
|
||||||
for room_id, is_partial_state in results.items()
|
for room_id, is_partial_state in results.items()
|
||||||
|
@ -1404,7 +1406,9 @@ class SyncHandler:
|
||||||
mutable_joined_room_ids,
|
mutable_joined_room_ids,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
results = await self.store.is_partial_state_room_batched(un_partial_stated_rooms)
|
results = await self.store.is_partial_state_room_batched(
|
||||||
|
un_partial_stated_rooms
|
||||||
|
)
|
||||||
forced_newly_joined_room_ids.update(
|
forced_newly_joined_room_ids.update(
|
||||||
room_id
|
room_id
|
||||||
for room_id, is_partial_state in results.items()
|
for room_id, is_partial_state in results.items()
|
||||||
|
|
Loading…
Reference in a new issue