diff options
author | louiz’ <louiz@louiz.org> | 2017-12-26 19:52:41 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-12-26 19:52:41 +0100 |
commit | 37340e593ffb61eaccc444a1efdb3aa6f784a14a (patch) | |
tree | 8ac71f9564d7c72a945d759d842697ce22873bfa /src/xmpp/xmpp_component.hpp | |
parent | 286aa58c7b42f78eb72d4f05170a8c25edeba504 (diff) | |
download | biboumi-37340e593ffb61eaccc444a1efdb3aa6f784a14a.tar.gz biboumi-37340e593ffb61eaccc444a1efdb3aa6f784a14a.tar.bz2 biboumi-37340e593ffb61eaccc444a1efdb3aa6f784a14a.tar.xz biboumi-37340e593ffb61eaccc444a1efdb3aa6f784a14a.zip |
Add a <x muc#user> node on outgoing private MUC messages
See https://xmpp.org/extensions/xep-0045.html#privatemessage
fix #3321
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 22d5c48..2bbbe3b 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -112,7 +112,8 @@ public: * 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, const bool nocopy=false); + const std::string& type, const bool fulljid, const bool nocopy=false, + const bool muc_private=false); /** * Send a join from a new participant */ |