summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-03-04 12:41:14 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-03-04 12:41:14 (GMT)
commit0070f96a4ab8770f45a09f5285f427357b955fe2 (patch)
treec339c7d02ec7497ab1ead756188061a5397fde4c /Swift/Controllers
parent37bfeaf6f2e0145731c32f79291ff3d48ae0e1b1 (diff)
downloadswift-0070f96a4ab8770f45a09f5285f427357b955fe2.zip
swift-0070f96a4ab8770f45a09f5285f427357b955fe2.tar.bz2
Reset the field values between searches for users.
Resolves: #771
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp
index b819835..7efa134 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.cpp
+++ b/Swift/Controllers/Chat/ChatControllerBase.cpp
@@ -67,7 +67,7 @@ void ChatControllerBase::setOnline(bool online) {
}
void ChatControllerBase::setAvailableServerFeatures(boost::shared_ptr<DiscoInfo> info) {
- if (iqRouter_->isAvailable() && info->hasFeature(DiscoInfo::SecurityLabelsCatalogueFeature)) {
+ if (iqRouter_->isAvailable() && info->hasFeature(DiscoInfo::SecurityLabelsCatalogFeature)) {
//chatWindow_->setSecurityLabelsEnabled(true);
//chatWindow_->setSecurityLabelsError();
GetSecurityLabelsCatalogRequest::ref request = GetSecurityLabelsCatalogRequest::create(JID(toJID_.toBare()), iqRouter_);