mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Fix off by one in presence token handling
This commit is contained in:
parent
12d381bd5d
commit
a6e62cf6d0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user