diff options
author | Patrik Oldsberg <patrik.oldsberg@ericsson.com> | 2016-02-23 00:21:48 +0100 |
---|---|---|
committer | Patrik Oldsberg <patrik.oldsberg@ericsson.com> | 2016-02-23 00:21:59 +0100 |
commit | 1dcfb201c4dcf329694195c89fadce80804459b7 (patch) | |
tree | 7fc992e3e64dfbc7ba75fbcaa832d786776ddee7 /synapse/handlers/sync.py | |
parent | Merge pull request #587 from matrix-org/rav/guest_access_after_room_join (diff) | |
download | synapse-1dcfb201c4dcf329694195c89fadce80804459b7.tar.xz |
handlers/sync: fix SyncResult not counting account_data change when converting to bool
This fixes account_data events not triggering an immediate /sync response Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com>
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/sync.py | 2 |
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 ) |