summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-01 17:01:36 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-03 12:17:42 (GMT)
commitf03b5eee1d92f686f4f2ccc8a0b10c18bac05e72 (patch)
treebd4292069a7c184b752c5228dfa4d94d0fad3f56 /Swiften/Elements/DiscoInfo.cpp
parent7e921ec72997493c5ab06cc13d7cf82bb7e8f643 (diff)
downloadswift-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.zip
swift-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.tar.bz2
Centralizing predefined features in DiscoInfo.
Diffstat (limited to 'Swiften/Elements/DiscoInfo.cpp')
-rw-r--r--Swiften/Elements/DiscoInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Elements/DiscoInfo.cpp b/Swiften/Elements/DiscoInfo.cpp
index 7c939f6..276b341 100644
--- a/Swiften/Elements/DiscoInfo.cpp
+++ b/Swiften/Elements/DiscoInfo.cpp
@@ -8,6 +8,10 @@
namespace Swift {
+const String DiscoInfo::ChatStatesFeature = String("http://jabber.org/protocol/chatstates");
+const String DiscoInfo::SecurityLabelsFeature = String("urn:xmpp:sec-label:0");
+
+
bool DiscoInfo::Identity::operator<(const Identity& other) const {
if (category_ == other.category_) {
if (type_ == other.type_) {