diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-19 15:51:10 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-19 15:51:10 +0100 |
commit | 5c00614aaba881c354cb9eecf024aa3a84838c4f (patch) | |
tree | e63fee2b71f7c86031996dfcb66b9537875bbe15 /synapse/handlers | |
parent | Fix typo in merge conflict (diff) | |
download | synapse-5c00614aaba881c354cb9eecf024aa3a84838c4f.tar.xz |
PresenceStreamData was expecting *_key to be ints
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/presence.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 60684f17d7..319e3c7c81 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -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 |