Make sure we keep the stable-id and origin-id nodes when required

See https://xmpp.org/extensions/xep-0359.html
This commit is contained in:
louiz’
2020-03-11 00:13:46 +01:00
parent 49a3931784
commit e967088986
6 changed files with 65 additions and 12 deletions
+2 -2
View File
@@ -135,8 +135,8 @@ public:
/**
* Send a (non-private) message to the MUC
*/
void send_muc_message(const std::string& muc_name, const std::string& nick, Xmpp::body&& body, const std::string& jid_to,
std::string uuid, std::string id);
Stanza make_muc_message(const std::string& muc_name, const std::string& nick, Xmpp::body&& xmpp_body, const std::string& jid_to,
std::string uuid, std::string id);
#ifdef USE_DATABASE
/**
* Send a message, with a <delay/> element, part of a MUC history