0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-14 07:09:31 +02:00

Fix off by one in presence token handling

This commit is contained in:
Erik Johnston 2015-04-29 17:37:11 +01:00
parent 12d381bd5d
commit a6e62cf6d0

View file

@ -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: