summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-23 09:55:23 +0000
committerErik Johnston <erik@matrix.org>2016-02-23 09:55:23 +0000
commit8fe3b450d28e0277f9068cb81dce381d512e0528 (patch)
tree7fc992e3e64dfbc7ba75fbcaa832d786776ddee7 /synapse/handlers
parentMerge pull request #587 from matrix-org/rav/guest_access_after_room_join (diff)
parenthandlers/sync: fix SyncResult not counting account_data change when convertin... (diff)
downloadsynapse-8fe3b450d28e0277f9068cb81dce381d512e0528.tar.xz
Merge pull request #597 from Rugvip/account-data-sync
handlers/sync: fix SyncResult not counting account_data change when converting to bool
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index c87ff75c05..4c6cc22a26 100644
--- a/synapse/handlers/sync.py
+++ b/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
         )