summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.hpp
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/xmpp/xmpp_component.hpp
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/xmpp/xmpp_component.hpp')
-rw-r--r--src/xmpp/xmpp_component.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index 5a5d3d8..3e13086 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -81,7 +81,8 @@ public:
/**
* Send a message from from@served_hostname, with the given body
*/
- void send_message(const std::string& from, Xmpp::body&& body, const std::string& to);
+ void send_message(const std::string& from, Xmpp::body&& body,
+ const std::string& to, const std::string& type);
/**
* Send a join from a new participant
*/