diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-01 17:01:36 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-03 12:17:42 (GMT) |
commit | f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72 (patch) | |
tree | bd4292069a7c184b752c5228dfa4d94d0fad3f56 /Swiften/Chat/UnitTest | |
parent | 7e921ec72997493c5ab06cc13d7cf82bb7e8f643 (diff) | |
download | swift-contrib-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.zip swift-contrib-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.tar.bz2 |
Centralizing predefined features in DiscoInfo.
Diffstat (limited to 'Swiften/Chat/UnitTest')
-rw-r--r-- | Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp b/Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp index 8380330..00fc11d 100644 --- a/Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp +++ b/Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp @@ -132,7 +132,7 @@ public: private: void setContactHas85Caps() { DiscoInfo::ref caps(new DiscoInfo()); - caps->addFeature(ChatState::getFeatureNamespace()); + caps->addFeature(DiscoInfo::ChatStatesFeature); entityCapsProvider->caps[JID("foo@bar.com/baz")] = caps; entityCapsProvider->onCapsChanged(JID("foo@bar.com/baz")); } |