commit c1aef6a0ea4634e25a90d557d98c49f7b87258eb Author: Sander van Grieken Date: Fri Nov 30 16:23:03 2012 +0100 contact-manager-roster.cpp: also check for Contact::FeatureRosterGroups on ConnectionManager diff --git a/TelepathyQt/contact-manager-roster.cpp b/TelepathyQt/contact-manager-roster.cpp index db45ca1..5311ed1 100644 --- a/TelepathyQt/contact-manager-roster.cpp +++ b/TelepathyQt/contact-manager-roster.cpp @@ -831,8 +831,8 @@ void ContactManager::Roster::gotContactListContacts(QDBusPendingCallWatcher *wat contactListContacts.insert(contact); } - if (contactManager->connection()->requestedFeatures().contains( - Connection::FeatureRosterGroups)) { + if (contactManager->supportedFeatures().contains(Contact::FeatureRosterGroups) + && contactManager->connection()->requestedFeatures().contains(Connection::FeatureRosterGroups)) { groupsSetSuccess = true; }