diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-29 17:37:11 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-29 17:37:11 +0100 |
commit | a6e62cf6d0cb7d80c7b1fe99e279b27c2faf7855 (patch) | |
tree | db7d28b9b56c8d027eab73b9702b3ad494753ff3 /synapse | |
parent | Decode the data json in the storage layer (was moved but this part was missed) (diff) | |
download | synapse-a6e62cf6d0cb7d80c7b1fe99e279b27c2faf7855.tar.xz |
Fix off by one in presence token handling
Diffstat (limited to '')
-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 42cd528908..9e15610401 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -881,7 +881,7 @@ class PresenceEventSource(object): # TODO(paul): limit for serial, user_ids in presence._remote_offline_serials: - if serial < from_key: + if serial <= from_key: break if serial > max_serial: |