diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-16 19:32:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-16 19:32:48 (GMT) |
commit | 2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1 (patch) | |
tree | e6e63729cbde4a894627a381af8dd6c4f7557a78 /Swiften/Parser/PayloadParsers | |
parent | 999f19158672bd6c91fa274a9f8e968b84f8a931 (diff) | |
download | swift-contrib-2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1.zip swift-contrib-2c5ef44b56d9c45254ea331a53fb6d8fe6efe7d1.tar.bz2 |
Added In-band-registration unsubscribe support to Swiften.
Diffstat (limited to 'Swiften/Parser/PayloadParsers')
-rw-r--r-- | Swiften/Parser/PayloadParsers/InBandRegistrationPayloadParser.cpp | 3 |
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); } |