summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kaluza <hanzz.k@gmail.com>2011-04-14 08:50:27 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-18 19:11:43 (GMT)
commita4e59529239902ac352e791767db63a31e2e0634 (patch)
tree8ac3da7c6f63f8a5fe523525f31e08742174f33f /Swiften/JID/JID.h
parent07152630c3a9d04dd86f7b370ee30b553665f5c7 (diff)
downloadswift-a4e59529239902ac352e791767db63a31e2e0634.zip
swift-a4e59529239902ac352e791767db63a31e2e0634.tar.bz2
Added support for JID Escaping XEP.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swiften/JID/JID.h')
-rw-r--r--Swiften/JID/JID.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/JID/JID.h b/Swiften/JID/JID.h
index 9f447db..f2a95be 100644
--- a/Swiften/JID/JID.h
+++ b/Swiften/JID/JID.h
@@ -38,6 +38,10 @@ namespace Swift {
return !hasResource_;
}
+ static std::string getEscapedNode(const std::string& node);
+
+ std::string getUnescapedNode() const;
+
JID toBare() const {
JID result(*this);
result.hasResource_ = false;