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/Chat/ChatStateNotifier.cpp
parent7e921ec72997493c5ab06cc13d7cf82bb7e8f643 (diff)
downloadswift-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.zip
swift-f03b5eee1d92f686f4f2ccc8a0b10c18bac05e72.tar.bz2
Centralizing predefined features in DiscoInfo.
Diffstat (limited to 'Swiften/Chat/ChatStateNotifier.cpp')
-rw-r--r--Swiften/Chat/ChatStateNotifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Chat/ChatStateNotifier.cpp b/Swiften/Chat/ChatStateNotifier.cpp
index cb7fa9a..6e0f458 100644
--- a/Swiften/Chat/ChatStateNotifier.cpp
+++ b/Swiften/Chat/ChatStateNotifier.cpp
@@ -84,7 +84,7 @@ void ChatStateNotifier::addChatStateRequest(Message::ref message) {
void ChatStateNotifier::handleCapsChanged(const JID& jid) {
if (jid == contact_) {
DiscoInfo::ref caps = entityCapsManager_->getCaps(contact_);
- bool hasCSN = caps && caps->hasFeature(ChatState::getFeatureNamespace());
+ bool hasCSN = caps && caps->hasFeature(DiscoInfo::ChatStatesFeature);
contactHas85Caps_ = hasCSN;
}
}