summaryrefslogtreecommitdiffstats
blob: 4586a74d0f21e027a9d3335772cfe2107abc0cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2010 Kevin Smith
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */

#include "Swiften/Serializer/PayloadSerializers/MUCPayloadSerializer.h"

#include "Swiften/Serializer/XML/XMLElement.h"

namespace Swift {

MUCPayloadSerializer::MUCPayloadSerializer() : GenericPayloadSerializer<MUCPayload>() {
}

String MUCPayloadSerializer::serializePayload(boost::shared_ptr<MUCPayload>)  const {
	XMLElement mucElement("x", "http://jabber.org/protocol/muc");
	return mucElement.serialize();
}

}