Add a <x muc#user> node on outgoing private MUC messages

See https://xmpp.org/extensions/xep-0045.html#privatemessage

fix #3321
This commit is contained in:
louiz’
2017-12-26 19:52:41 +01:00
parent 286aa58c7b
commit 37340e593f
4 changed files with 15 additions and 5 deletions
+2 -1
View File
@@ -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
*/