Merge branch 'master' into dummy_chan

This commit is contained in:
Florent Le Coz committed 2014-04-15 04:11:27 +02:00
commit 7f74f62e56
8 files changed
+77 -95

No files matched your search

+2 -2
View File
@@ -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,