summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-15 04:11:27 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-15 04:11:27 +0200
commit7f74f62e56483bae6796be82d279c5180642d53b (patch)
treed0e98105c52531ae0df3931175e8b185c50e187e /src/bridge
parent020325dbb071f1735bceb80de9f982aefcd2de47 (diff)
parentc64bb0bde9dbf572bd4d3bbaf478ec812a2f12d6 (diff)
downloadbiboumi-7f74f62e56483bae6796be82d279c5180642d53b.tar.gz
biboumi-7f74f62e56483bae6796be82d279c5180642d53b.tar.bz2
biboumi-7f74f62e56483bae6796be82d279c5180642d53b.tar.xz
biboumi-7f74f62e56483bae6796be82d279c5180642d53b.zip
Merge branch 'master' into dummy_chan
Diffstat (limited to 'src/bridge')
-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 f4d4814..da10e28 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -208,7 +208,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)
@@ -240,7 +240,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,