Add contact dialog shows empty combo box for selecting account.
This is because canRequestPresenceSubscription requires Tp::FeatureConnectionRoster which isn't ever loaded in kpeople mode.
Non-kpeople mode should be unnafected.
- upgrade the connections inside add-contact-dialog
- manually query the connection ContactListInterface
- inside TpQt create a new feature FeatureContactListCapabilities. Fetch the properties if that exists, only process contactListState if FeatureRoster is also set. Make FeatureRoster depend on FeatureContactListCapabilities
- disable the filtering?
I don't want to just enable FeatureConnectionRoster in the main AccountManager as that particular feature is the most expensive and we turned it off for a reason.
Git commit 73f27b0f301ad17a16770aef016ab8c86e31e64b by David Edmundson.
Committed on 10/09/2013 at 01:00.
Pushed by davidedmundson into branch 'master'.
Fix empty combo box in "add contact" dialog
In Kpeople mode we never request FeatureRoster to reduce DBus traffic
fetching a roster list that we get from Nepomuk anyway.
The add contact dialog needs this in order to tell if a roster is editable.
This patch upgrades all connections.
M +29 -0 KTp/Widgets/add-contact-dialog.cpp
M +1 -0 KTp/Widgets/add-contact-dialog.h