aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-contact-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-contact-list.c')
-rw-r--r--libempathy/empathy-tp-contact-list.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index ae178dd06..f5d565ed8 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -825,6 +825,10 @@ tp_contact_list_get_all_groups (EmpathyContactList *list)
groups = g_list_prepend (groups, g_strdup (name));
}
+ if (priv->protocol_group) {
+ groups = g_list_prepend (groups, g_strdup (priv->protocol_group));
+ }
+
return groups;
}
@@ -847,6 +851,10 @@ tp_contact_list_get_groups (EmpathyContactList *list,
ret = g_list_prepend (ret, g_strdup (l->data));
}
+ if (priv->protocol_group) {
+ ret = g_list_prepend (ret, g_strdup (priv->protocol_group));
+ }
+
return ret;
}