Skip to content
Snippets Groups Projects
Commit e55291ce authored by Erik Johnston's avatar Erik Johnston
Browse files

None check

parent 8e254862
No related branches found
No related tags found
No related merge requests found
......@@ -290,6 +290,8 @@ class PresenceHandler(BaseHandler):
)
for local_part, state in states.items():
if stat is None:
continue
res = {"presence": state["state"]}
if "status_msg" in state and state["status_msg"]:
res["status_msg"] = state["status_msg"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment