summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/xmpp_component.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index ba45fe4..7cf2ce0 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -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)