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

PresenceStreamData was expecting *_key to be ints

parent 22dd0b37
No related branches found
No related tags found
No related merge requests found
......@@ -689,6 +689,9 @@ class PresenceStreamData(StreamData):
self.presence = hs.get_handlers().presence_handler
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
# TODO(paul): limit, and filter by visibility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment