blob: 36aa47f14ab7b8f8c3a5c0a3d3004fd2b092f87e (
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> payload) const {
XMLElement mucElement("x", "http://jabber.org/protocol/muc");
return mucElement.serialize();
}
}
|