summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-16 19:32:48 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-16 19:32:48 (GMT)
commit2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1 (patch)
treee6e63729cbde4a894627a381af8dd6c4f7557a78 /Swiften/Parser
parent999f19158672bd6c91fa274a9f8e968b84f8a931 (diff)
downloadswift-2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1.zip
swift-2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1.tar.bz2
Added In-band-registration unsubscribe support to Swiften.
Diffstat (limited to 'Swiften/Parser')
-rw-r--r--Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp b/Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp
index 0e1b593..5a9b3d8 100644
--- a/Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp
+++ b/Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp
@@ -56,6 +56,9 @@ void InBandRegistrationPayloadParser::handleEndElement(const String& element, co
else if (element == "registered") {
getPayloadInternal()->setRegistered(true);
}
+ else if (element == "remove") {
+ getPayloadInternal()->setRemove(true);
+ }
else if (element == "instructions") {
getPayloadInternal()->setInstructions(currentText);
}