Merge pull request #597 from Rugvip/account-data-sync

handlers/sync: fix SyncResult not counting account_data change when converting to bool
This commit is contained in:
Erik Johnston 2016-02-23 09:55:23 +00:00
commit 8fe3b450d2

View file

@ -121,7 +121,7 @@ class SyncResult(collections.namedtuple("SyncResult", [
events.
"""
return bool(
self.presence or self.joined or self.invited or self.archived
self.presence or self.joined or self.invited or self.archived or self.account_data
)