Skip to content
Snippets Groups Projects
Commit a6e62cf6 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix off by one in presence token handling

parent 12d381bd
Branches
Tags
No related merge requests found
...@@ -881,7 +881,7 @@ class PresenceEventSource(object): ...@@ -881,7 +881,7 @@ class PresenceEventSource(object):
# TODO(paul): limit # TODO(paul): limit
for serial, user_ids in presence._remote_offline_serials: for serial, user_ids in presence._remote_offline_serials:
if serial < from_key: if serial <= from_key:
break break
if serial > max_serial: if serial > max_serial:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment