aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-roster-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-view.c b/libempathy-gtk/empathy-roster-view.c
index 1e98efcfe..cbc2c5c14 100644
--- a/libempathy-gtk/empathy-roster-view.c
+++ b/libempathy-gtk/empathy-roster-view.c
@@ -725,6 +725,10 @@ add_to_displayed (EmpathyRosterView *self,
/* Groups of this contact may now be displayed if we just displays the first
* child in this group. */
+
+ if (!self->priv->show_groups)
+ return;
+
individual = empathy_roster_contact_get_individual (contact);
contacts = g_hash_table_lookup (self->priv->roster_contacts, individual);
if (contacts == NULL)