0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-01 17:08:19 +02:00
This commit is contained in:
Erik Johnston 2015-08-18 11:19:08 +01:00
parent e55291ce5e
commit 0d4abf7777

View file

@ -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"]: