summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Chat/UnitTest')
-rw-r--r--Swiften/Chat/UnitTest/ChatStateNotifierTest.cpp2
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"));
}