diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 15:27:58 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-09-03 15:28:03 +0100 |
commit | dada11dc5f4e318e13da89f33e5a4dcdf165c08f (patch) | |
tree | a3e2f381721aafa0bd5128c78a4b10eb46d01dd2 | |
parent | Added /unban $user_id (diff) | |
download | synapse-dada11dc5f4e318e13da89f33e5a4dcdf165c08f.tar.xz |
Bugfix for back-pagination of presence
-rw-r--r-- | synapse/handlers/presence.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index ae4735898e..a88ce61f79 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -840,6 +840,8 @@ class PresenceEventSource(object): from_token = pagination_config.from_token to_token = pagination_config.to_token + observer_user = user + from_key = int(from_token.presence_key) if to_token: |