aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppConstants.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2020-02-11 18:19:28 +0100
committerLNJ <lnj@kaidan.im>2020-02-11 18:59:31 +0100
commit279b92daac8eae020353b64b176cc0af800d3e6a (patch)
tree901d8b3eab6747167577647aad25afa8e49c2aea /src/base/QXmppConstants.cpp
parentbadbd71af19423ed87f893386a4fe06cff173e24 (diff)
downloadqxmpp-279b92daac8eae020353b64b176cc0af800d3e6a.tar.gz
Update MAM implementation to v0.6
This updates the MAM implementation to version 0.6.0. The new namespace is now used (mam:2). There is no compatibility layer with the old namespace (mam:1) since both ejabberd and prosody have updated their MAM implementation to support the mam:2 namespace a while ago. Closes #254.
Diffstat (limited to 'src/base/QXmppConstants.cpp')
-rw-r--r--src/base/QXmppConstants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/QXmppConstants.cpp b/src/base/QXmppConstants.cpp
index b88bccf6..bd813ea6 100644
--- a/src/base/QXmppConstants.cpp
+++ b/src/base/QXmppConstants.cpp
@@ -130,7 +130,7 @@ const char* ns_forwarding = "urn:xmpp:forward:0";
// XEP-0308: Last Message Correction
const char* ns_message_correct = "urn:xmpp:message-correct:0";
// XEP-0313: Message Archive Management
-const char* ns_mam = "urn:xmpp:mam:1";
+const char* ns_mam = "urn:xmpp:mam:2";
// XEP-0319: Last User Interaction in Presence
const char* ns_idle = "urn:xmpp:idle:1";
// XEP-0333: Chat Markers