summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-05-15 16:33:59 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-05-15 16:33:59 (GMT)
commit2456a8b12163b3249b6b9164b601c36772eb05a1 (patch)
tree110cbe93364d8b1008d5441a5d1adf8e0d76c697 /Swiften/Serializer/PayloadSerializers
parent921ebf9b92bb02fe8d598aa29b18f91005bc0154 (diff)
downloadswift-contrib-2456a8b12163b3249b6b9164b601c36772eb05a1.zip
swift-contrib-2456a8b12163b3249b6b9164b601c36772eb05a1.tar.bz2
Fix namespace for muc#user
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers')
-rw-r--r--Swiften/Serializer/PayloadSerializers/MUCUserPayloadSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/MUCUserPayloadSerializer.cpp b/Swiften/Serializer/PayloadSerializers/MUCUserPayloadSerializer.cpp
index 7b76a50..44aa506 100644
--- a/Swiften/Serializer/PayloadSerializers/MUCUserPayloadSerializer.cpp
+++ b/Swiften/Serializer/PayloadSerializers/MUCUserPayloadSerializer.cpp
@@ -21,7 +21,7 @@ MUCUserPayloadSerializer::MUCUserPayloadSerializer() : GenericPayloadSerializer<
}
std::string MUCUserPayloadSerializer::serializePayload(boost::shared_ptr<MUCUserPayload> payload) const {
- XMLElement mucElement("x", "http://jabber.org/protocol/muc");
+ XMLElement mucElement("x", "http://jabber.org/protocol/muc#user");
foreach (const MUCUserPayload::StatusCode statusCode, payload->getStatusCodes()) {
boost::shared_ptr<XMLElement> statusElement(new XMLElement("status"));
std::ostringstream code;