diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-03-30 12:10:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-30 11:10:12 +0000 |
commit | c8cbd66d3ba6a6212c0934fcb9aa9b791797c269 (patch) | |
tree | 0246f10fe8bdac37a55891412be8f1c514dbaf7b /synapse/handlers/presence.py | |
parent | Disable proactive sends for remote joins (#12330) (diff) | |
download | synapse-c8cbd66d3ba6a6212c0934fcb9aa9b791797c269.tar.xz |
Start application service stream token tracking from 1 (#12193)
Co-authored-by: Erik Johnston <erik@matrix.org>
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 34d9411bbf..dace31d87e 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -1625,7 +1625,7 @@ class PresenceEventSource(EventSource[int, UserPresenceState]): # We'll actually pull the presence updates for these users at the end. interested_and_updated_users: Union[Set[str], FrozenSet[str]] = set() - if from_key: + if from_key is not None: # First get all users that have had a presence update updated_users = stream_change_cache.get_all_entities_changed(from_key) |