Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #461 from matrix-org/erikj/sync_leave
Browse files Browse the repository at this point in the history
Return /sync when something under the 'leave' key has changed
  • Loading branch information
erikjohnston committed Jan 5, 2016
2 parents d74c4e9 + acb1906 commit 9092198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/handlers/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __nonzero__(self):
events.
"""
return bool(
self.presence or self.joined or self.invited
self.presence or self.joined or self.invited or self.archived
)

GuestRoom = collections.namedtuple("GuestRoom", ("room_id", "membership"))
Expand Down

0 comments on commit 9092198

Please sign in to comment.