Return /sync when something under the 'leave' key has changed

This commit is contained in:
Erik Johnston 2016-01-05 14:49:06 +00:00
parent d74c4e90d4
commit acb19068d0

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"))