Skip to content

Commit

Permalink
Update synapse/handlers/sliding_sync/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Johnston <[email protected]>
  • Loading branch information
MadLittleMods and erikjohnston authored Dec 2, 2024
1 parent 2f87bf3 commit 3ab2d8d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions synapse/handlers/sliding_sync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,7 @@ async def get_room_sync_data(
timeline_membership.add(timeline_event.sender)

# We also care about invite, ban, kick, targets,
# etc. This allows clients to cache the membership
# list for as long as it doesn't get a gappy sync,
# but still ensures for large gaps the server
# doesn't need to send down all membership changes.
# etc.
if timeline_event.type == EventTypes.Member:
timeline_membership.add(
timeline_event.state_key
Expand Down

0 comments on commit 3ab2d8d

Please sign in to comment.