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

handlers/sync: fix SyncResult not counting account_data change when converting to bool
pull/599/head
Erik Johnston 2016-02-23 09:55:23 +00:00
commit 8fe3b450d2
1 changed files with 1 additions and 1 deletions

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
)