summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-10 20:11:17 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-10 20:11:17 +0200
commita20c60a0d84f2f22777e3831cac1315302b7a095 (patch)
tree633276b01684d5b4dcba0c3a629405572fd123d8 /src/bridge/bridge.cpp
parent65601a96d20d4ce010723df3a059ee5a9713fae7 (diff)
downloadbiboumi-a20c60a0d84f2f22777e3831cac1315302b7a095.tar.gz
biboumi-a20c60a0d84f2f22777e3831cac1315302b7a095.tar.bz2
biboumi-a20c60a0d84f2f22777e3831cac1315302b7a095.tar.xz
biboumi-a20c60a0d84f2f22777e3831cac1315302b7a095.zip
Messages coming from the IRC server are of type "chat"
Diffstat (limited to 'src/bridge/bridge.cpp')
-rw-r--r--src/bridge/bridge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 9b7908a..277f696 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -188,7 +188,7 @@ void Bridge::send_message(const Iid& iid, const std::string& nick, const std::st
this->make_xmpp_body(body), this->user_jid);
else
this->xmpp->send_message(iid.chan + "%" + iid.server,
- this->make_xmpp_body(body), this->user_jid);
+ this->make_xmpp_body(body), this->user_jid, "chat");
}
void Bridge::send_muc_leave(Iid&& iid, std::string&& nick, const std::string& message, const bool self)
@@ -220,7 +220,7 @@ void Bridge::send_xmpp_message(const std::string& from, const std::string& autho
body = std::string("[") + author + std::string("] ") + msg;
else
body = msg;
- this->xmpp->send_message(from, this->make_xmpp_body(body), this->user_jid);
+ this->xmpp->send_message(from, this->make_xmpp_body(body), this->user_jid, "chat");
}
void Bridge::send_user_join(const std::string& hostname,