diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-individual-store.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c index 976053c07..a1a07a32c 100644 --- a/libempathy-gtk/empathy-individual-store.c +++ b/libempathy-gtk/empathy-individual-store.c @@ -353,6 +353,9 @@ individual_store_add_individual (EmpathyIndividualStore *self, GtkTreeIter iter; GHashTable *group_set = NULL; GList *groups = NULL, *l; + EmpathyIndividualManager *manager; + EmpathyContact *contact; + TpConnection *connection; EmpathyIndividualManagerFlags flags = 0; priv = GET_PRIV (self); @@ -369,8 +372,11 @@ individual_store_add_individual (EmpathyIndividualStore *self, groups = g_hash_table_get_keys (group_set); } - /* TODO: implement */ - DEBUG ("group capability flags not implemented"); + manager = empathy_individual_manager_dup_singleton (); + contact = empathy_contact_from_folks_individual (individual); + connection = empathy_contact_get_connection (contact); + flags = empathy_individual_manager_get_flags_for_connection (manager, + connection); if (!groups) { |