summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-15 20:40:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-15 20:40:51 (GMT)
commita49ca97a7b2ad61385d0f6f22ec598a63d889ae7 (patch)
tree332ff85114c4bc6cea5a028a10c111786584be57 /Swiften/Serializer
parent10d8877b9251d5408da9ac3a5eafb066de121bc6 (diff)
downloadswift-contrib-a49ca97a7b2ad61385d0f6f22ec598a63d889ae7.zip
swift-contrib-a49ca97a7b2ad61385d0f6f22ec598a63d889ae7.tar.bz2
Added EchoComponent.
Diffstat (limited to 'Swiften/Serializer')
-rw-r--r--Swiften/Serializer/ComponentHandshakeSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Serializer/ComponentHandshakeSerializer.cpp b/Swiften/Serializer/ComponentHandshakeSerializer.cpp
index de1958e..011d59e 100644
--- a/Swiften/Serializer/ComponentHandshakeSerializer.cpp
+++ b/Swiften/Serializer/ComponentHandshakeSerializer.cpp
@@ -15,7 +15,7 @@ ComponentHandshakeSerializer::ComponentHandshakeSerializer() {
String ComponentHandshakeSerializer::serialize(boost::shared_ptr<Element> element) const {
boost::shared_ptr<ComponentHandshake> handshake(boost::dynamic_pointer_cast<ComponentHandshake>(element));
- return "<handshake>" + handshake->getData() + "</challenge>";
+ return "<handshake>" + handshake->getData() + "</handshake>";
}
}