summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-03 15:27:58 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-03 15:28:03 +0100
commitdada11dc5f4e318e13da89f33e5a4dcdf165c08f (patch)
treea3e2f381721aafa0bd5128c78a4b10eb46d01dd2
parentAdded /unban $user_id (diff)
downloadsynapse-dada11dc5f4e318e13da89f33e5a4dcdf165c08f.tar.xz
Bugfix for back-pagination of presence
Diffstat (limited to '')
-rw-r--r--synapse/handlers/presence.py2
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: