summaryrefslogtreecommitdiffstats
blob: e39d005d7b107a789d1e81722715df1e4191a582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2015 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#include <Swiften/Serializer/PayloadSerializers/CarbonsDisableSerializer.h>

#include <Swiften/Serializer/XML/XMLElement.h>

namespace Swift {
	CarbonsDisableSerializer::CarbonsDisableSerializer() : GenericPayloadSerializer<CarbonsDisable>() {

	}

	CarbonsDisableSerializer::~CarbonsDisableSerializer() {

	}

 	std::string CarbonsDisableSerializer::serializePayload(boost::shared_ptr<CarbonsDisable>)	const {
		XMLElement element("disable", "urn:xmpp:carbons:2");
		return element.serialize();
	}
}