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

handlers/sync: fix SyncResult not counting account_data change when converting to bool
pull/4/merge
Erik Johnston 9 years ago
commit 8fe3b450d2
  1. 2
      synapse/handlers/sync.py

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

Loading…
Cancel
Save