summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp/xmpp_component.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-11 00:43:46 +0200
committerlouiz’ <louiz@louiz.org>2016-10-11 00:43:46 +0200
commitdfc0793ef2fec12d2613b53b27f1a7f85dae2688 (patch)
treee1e2d8fbb3464cc5a90ff0d846dabc038c81391e /louloulibs/xmpp/xmpp_component.hpp
parent548e4ad473e7be22f971184312cc5ce9b8fe56b7 (diff)
downloadbiboumi-dfc0793ef2fec12d2613b53b27f1a7f85dae2688.tar.gz
biboumi-dfc0793ef2fec12d2613b53b27f1a7f85dae2688.tar.bz2
biboumi-dfc0793ef2fec12d2613b53b27f1a7f85dae2688.tar.xz
biboumi-dfc0793ef2fec12d2613b53b27f1a7f85dae2688.zip
Include a private and no-copy nodes in private <message/> to avoid carbon duplication
Diffstat (limited to 'louloulibs/xmpp/xmpp_component.hpp')
-rw-r--r--louloulibs/xmpp/xmpp_component.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/louloulibs/xmpp/xmpp_component.hpp b/louloulibs/xmpp/xmpp_component.hpp
index 232d47a..45a4038 100644
--- a/louloulibs/xmpp/xmpp_component.hpp
+++ b/louloulibs/xmpp/xmpp_component.hpp
@@ -109,9 +109,8 @@ public:
* If fulljid is false, the provided 'from' doesn't contain the
* server-part of the JID and must be added.
*/
- void send_message(const std::string& from, Xmpp::body&& body,
- const std::string& to, const std::string& type,
- const bool fulljid=false);
+ void send_message(const std::string& from, Xmpp::body&& body, const std::string& to,
+ const std::string& type, const bool fulljid, const bool nocopy=false);
/**
* Send a join from a new participant
*/