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
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class SyncResult(collections.namedtuple("SyncResult", [
events. events.
""" """
return bool( 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")) GuestRoom = collections.namedtuple("GuestRoom", ("room_id", "membership"))