Commit 7c7da2ce authored by louiz’'s avatar louiz’

"Chat message" is not the same as "any kind of message"

parent bafde1af
......@@ -389,7 +389,7 @@ void XmppComponent::handle_message(const Stanza& stanza)
if (kickable_error)
bridge->shutdown("Error from remote client");
}
else
else if (type == "chat")
{
if (body && !body->get_inner().empty())
bridge->send_private_message(iid, body->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