summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-18 11:19:08 +0100
committerErik Johnston <erik@matrix.org>2015-08-18 11:19:08 +0100
commit0d4abf77773ca0af73422aff1a35bb73c9235e1f (patch)
tree734c62d4d9977b5af0206dd1cd3c60f2e8405ddd /synapse/handlers/presence.py
parentNone check (diff)
downloadsynapse-0d4abf77773ca0af73422aff1a35bb73c9235e1f.tar.xz
Typo
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 748432959e..e91e81831e 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -290,7 +290,7 @@ class PresenceHandler(BaseHandler):
             )
 
             for local_part, state in states.items():
-                if stat is None:
+                if state is None:
                     continue
                 res = {"presence": state["state"]}
                 if "status_msg" in state and state["status_msg"]: