[telepathy-qt4/master] TextChannel: Proper check for FeatureMessageCapabilities when trying to update capabilities.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Fri May 29 06:05:45 PDT 2009


---
 TelepathyQt4/text-channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/text-channel.cpp b/TelepathyQt4/text-channel.cpp
index 975b035..2c17eba 100644
--- a/TelepathyQt4/text-channel.cpp
+++ b/TelepathyQt4/text-channel.cpp
@@ -300,7 +300,7 @@ void TextChannel::Private::updateInitialMessages()
 void TextChannel::Private::updateCapabilities()
 {
     if (!readinessHelper->requestedFeatures().contains(FeatureMessageCapabilities) ||
-        readinessHelper->isReady(Features() << FeatureMessageQueue)) {
+        readinessHelper->isReady(Features() << FeatureMessageCapabilities)) {
         return;
     }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list