0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:44:02 +01:00

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
)