diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-18 11:19:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-18 11:19:08 +0100 |
commit | 0d4abf77773ca0af73422aff1a35bb73c9235e1f (patch) | |
tree | 734c62d4d9977b5af0206dd1cd3c60f2e8405ddd | |
parent | None check (diff) | |
download | synapse-0d4abf77773ca0af73422aff1a35bb73c9235e1f.tar.xz |
Typo
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/presence.py | 2 |
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"]: |