summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-08-26 15:20:05 +0100
committerMark Haines <mark.haines@matrix.org>2014-08-26 16:02:59 +0100
commitac21dfff6d78221760c56e3ea357a4170d5a209e (patch)
tree92c7d7cdee0daf6270ede3004695ad245a96e845 /synapse/handlers/presence.py
parentAvoid double call of refresh at app startup (diff)
downloadsynapse-ac21dfff6d78221760c56e3ea357a4170d5a209e.tar.xz
Fix pyflakes errors
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 471dc86163..be10162db5 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -674,7 +674,7 @@ class PresenceHandler(BaseHandler):
 
     def push_update_to_clients(self, observer_user, observed_user,
                                statuscache):
-        state = statuscache.make_event(user=observed_user, clock=self.clock)
+        statuscache.make_event(user=observed_user, clock=self.clock)
 
         self.notifier.on_new_user_event(
             observer_user.to_string(),