0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 02:33:51 +01: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(): for local_part, state in states.items():
if stat is None: if state is None:
continue continue
res = {"presence": state["state"]} res = {"presence": state["state"]}
if "status_msg" in state and state["status_msg"]: if "status_msg" in state and state["status_msg"]: