summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarun Gupta <tarun1995gupta@gmail.com>2017-06-23 17:52:45 (GMT)
committerTobias Markmann <tm@ayena.de>2017-07-07 11:20:06 (GMT)
commit2a251161c5baa688ec12068346359bd829ab2ea1 (patch)
tree2bb4797ed266305d08a2800fbf728e8149026b84 /Swiften/Parser/PayloadParsers/MIXJoinParser.cpp
parent610a2169757b578c6246c0d277f95a79695652ba (diff)
downloadswift-2a251161c5baa688ec12068346359bd829ab2ea1.zip
swift-2a251161c5baa688ec12068346359bd829ab2ea1.tar.bz2
Update namespace for MIX Elements
Namespace update from urn:xmpp:mix:1 to urn:xmpp:mix:0 for MIX elements for checking against server implementation License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Change-Id: I1bbd06d83f54fcde81ae0ed06dda90aec0ef1aeb
Diffstat (limited to 'Swiften/Parser/PayloadParsers/MIXJoinParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/MIXJoinParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/PayloadParsers/MIXJoinParser.cpp b/Swiften/Parser/PayloadParsers/MIXJoinParser.cpp
index 2509667..0c09c44 100644
--- a/Swiften/Parser/PayloadParsers/MIXJoinParser.cpp
+++ b/Swiften/Parser/PayloadParsers/MIXJoinParser.cpp
@@ -35,7 +35,7 @@ void MIXJoinParser::handleStartElement(const std::string& element, const std::st
}
if (level_ == 1) {
- if (element == "subscribe" && ns == "urn:xmpp:mix:1") {
+ if (element == "subscribe" && ns == "urn:xmpp:mix:0") {
currentPayloadParser_ = std::make_shared<MIXSubscribeParser>();
}
if (element == "x" && ns == "jabber:x:data") {
@@ -57,7 +57,7 @@ void MIXJoinParser::handleEndElement(const std::string& element, const std::stri
}
if (level_ == 1) {
- if (element == "subscribe" && ns == "urn:xmpp:mix:1") {
+ if (element == "subscribe" && ns == "urn:xmpp:mix:0") {
getPayloadInternal()->addSubscription(std::dynamic_pointer_cast<MIXSubscribe>(currentPayloadParser_->getPayload()));
}
if (element == "x" && ns == "jabber:x:data") {