"Chat message" is not the same as "any kind of message"
This commit is contained in:
1 parent
bafde1af9f
commit
7c7da2cedb
1 file changed
+1
-1
@@ -389,7 +389,7 @@ void XmppComponent::handle_message(const Stanza& stanza)
|
|||||||
if (kickable_error)
|
if (kickable_error)
|
||||||
bridge->shutdown("Error from remote client");
|
bridge->shutdown("Error from remote client");
|
||||||
}
|
}
|
||||||
else
|
else if (type == "chat")
|
||||||
{
|
{
|
||||||
if (body && !body->get_inner().empty())
|
if (body && !body->get_inner().empty())
|
||||||
bridge->send_private_message(iid, body->get_inner());
|
bridge->send_private_message(iid, body->get_inner());
|
||||||
|
|||||||
Reference in new issue
Block a user