mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 08:30:21 +00:00
Apply suggestions from code review
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
This commit is contained in:
parent
9f4a5c1048
commit
528183bb55
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Improve performance of looking up partial-state status.
|
||||
Faster joins: Improve performance of looking up partial-state status of rooms.
|
||||
|
|
|
@ -1408,7 +1408,7 @@ class SyncHandler:
|
|||
forced_newly_joined_room_ids.update(
|
||||
room_id
|
||||
for room_id, is_partial_state in results.items()
|
||||
if is_partial_state
|
||||
if not is_partial_state
|
||||
)
|
||||
|
||||
# Now we have our list of joined room IDs, exclude as configured and freeze
|
||||
|
|
Loading…
Reference in a new issue