diff options
author | louiz’ <louiz@louiz.org> | 2017-03-30 18:16:44 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-03-30 18:16:44 +0200 |
commit | 7f2127a7ea4c49fc1fbcd6cd6fb13e0265f4d841 (patch) | |
tree | 0b26c2742f00ac424bd19909695b24e6fd452d52 /src/xmpp/xmpp_component.hpp | |
parent | 1090f3ceda3a4e87e592fa5aab33ce3e8fb05918 (diff) | |
download | biboumi-7f2127a7ea4c49fc1fbcd6cd6fb13e0265f4d841.tar.gz biboumi-7f2127a7ea4c49fc1fbcd6cd6fb13e0265f4d841.tar.bz2 biboumi-7f2127a7ea4c49fc1fbcd6cd6fb13e0265f4d841.tar.xz biboumi-7f2127a7ea4c49fc1fbcd6cd6fb13e0265f4d841.zip |
Add the archive ID to messages when they are sent to users
This makes us compatible with mam 6.0
fix #3249
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r-- | src/xmpp/xmpp_component.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp index 250f0a8..8eabaf6 100644 --- a/src/xmpp/xmpp_component.hpp +++ b/src/xmpp/xmpp_component.hpp @@ -33,6 +33,7 @@ #define DATAFORM_NS "jabber:x:data" #define RSM_NS "http://jabber.org/protocol/rsm" #define MUC_TRAFFIC_NS "http://jabber.org/protocol/muc#traffic" +#define STABLE_ID_NS "urn:xmpp:sid:0" /** * An XMPP component, communicating with an XMPP server using the protocole @@ -134,7 +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); + void send_muc_message(const std::string& muc_name, const std::string& nick, Xmpp::body&& body, const std::string& jid_to, + std::string uuid); /** * Send a message, with a <delay/> element, part of a MUC history */ |