mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
PresenceStreamData was expecting *_key to be ints
This commit is contained in:
parent
22dd0b37c4
commit
5c00614aab
@ -689,6 +689,9 @@ class PresenceStreamData(StreamData):
|
|||||||
self.presence = hs.get_handlers().presence_handler
|
self.presence = hs.get_handlers().presence_handler
|
||||||
|
|
||||||
def get_rows(self, user_id, from_key, to_key, limit, direction):
|
def get_rows(self, user_id, from_key, to_key, limit, direction):
|
||||||
|
from_key = int(from_key)
|
||||||
|
to_key = int(to_key)
|
||||||
|
|
||||||
cachemap = self.presence._user_cachemap
|
cachemap = self.presence._user_cachemap
|
||||||
|
|
||||||
# TODO(paul): limit, and filter by visibility
|
# TODO(paul): limit, and filter by visibility
|
||||||
|
Loading…
Reference in New Issue
Block a user