diff options
author | louiz’ <louiz@louiz.org> | 2020-03-11 00:08:18 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-03-11 00:13:46 +0100 |
commit | e967088986f0d32eec662e2ab3749e4ba8e07a21 (patch) | |
tree | d0024347d28fed1afafc330ead744ca1bb9043db /src/xmpp/xmpp_component.hpp | |
parent | 49a3931784d4b58e1f618f5424701ae6de79833b (diff) | |
download | biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.gz biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.bz2 biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.tar.xz biboumi-e967088986f0d32eec662e2ab3749e4ba8e07a21.zip |
Make sure we keep the stable-id and origin-id nodes when required
See https://xmpp.org/extensions/xep-0359.html
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 156e286..ee6b776 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -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 |