mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 14:14:19 -05:00
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.
|
events.
|
||||||
"""
|
"""
|
||||||
return bool(
|
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
Block a user