[empathy] empathy_client_factory_dup_contact_features: request groups and client-types



commit ad74b5ae98407d3c97a0b157971c859cdaf138eb
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jun 13 15:31:06 2012 +0200

    empathy_client_factory_dup_contact_features: request groups and client-types
    
    Empathy prepares the AM before preparing folks, so when folks set its features
    on the factory, all TpContact are already created and so won't be upgraded.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675214

 libempathy/empathy-client-factory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-client-factory.c b/libempathy/empathy-client-factory.c
index 603f4e3..da647a4 100644
--- a/libempathy/empathy-client-factory.c
+++ b/libempathy/empathy-client-factory.c
@@ -147,6 +147,8 @@ empathy_client_factory_dup_contact_features (TpSimpleClientFactory *factory,
        * is already in the contact list. This feature is pretty cheap to
        * prepare as it doesn't prepare the full roster. */
       TP_CONTACT_FEATURE_SUBSCRIPTION_STATES,
+      TP_CONTACT_FEATURE_CONTACT_GROUPS,
+      TP_CONTACT_FEATURE_CLIENT_TYPES,
   };
 
   features = chainup->dup_contact_features (factory, connection);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]