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>
This commit is contained in:
parent
f7e3de02ef
commit
1dcfb201c4
|
@ -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…
Reference in New Issue