Handle private messages, both ways
This commit is contained in:
1 parent
7ba2d0fb45
commit
10d5287177
5 files changed
+39
-8
No files matched your search
@@ -188,6 +188,11 @@ void XmppComponent::handle_message(const Stanza& stanza)
|
||||
if (body && !body->get_inner().empty())
|
||||
bridge->send_channel_message(iid, body->get_inner());
|
||||
}
|
||||
else
|
||||
{
|
||||
if (body && !body->get_inner().empty())
|
||||
bridge->send_private_message(iid, body->get_inner());
|
||||
}
|
||||
}
|
||||
|
||||
Bridge* XmppComponent::get_user_bridge(const std::string& user_jid)
|
||||
|
||||
Reference in new issue
Block a user