Include a private and no-copy nodes in private <message/> to avoid carbon duplication

This commit is contained in:
louiz’
2016-10-11 00:43:46 +02:00
parent 548e4ad473
commit dfc0793ef2
3 changed files with 19 additions and 7 deletions
+2 -3
View File
@@ -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
*/