mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Fix off by one in presence token handling
This commit is contained in:
parent
12d381bd5d
commit
a6e62cf6d0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue