Merge pull request #461 from matrix-org/erikj/sync_leave

Return /sync when something under the 'leave' key has changed
This commit is contained in:
Erik Johnston 2016-01-05 14:59:05 +00:00
commit 90921981be

View File

@ -115,7 +115,7 @@ class SyncResult(collections.namedtuple("SyncResult", [
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"))