Commit e35472a6 authored by louiz’'s avatar louiz’

Correctly send the part message to IRC

By fixing a namespace when looking for an XML element containing that message
parent 7d8ce3b5
......@@ -176,7 +176,7 @@ void XmppComponent::handle_presence(const Stanza& stanza)
}
else if (type == "unavailable")
{
XmlNode* status = stanza.get_child(MUC_USER_NS":status");
XmlNode* status = stanza.get_child(COMPONENT_NS":status");
bridge->leave_irc_channel(std::move(iid), status ? std::move(status->get_inner()) : "");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment