aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index cffb5c99a..1c8dd21cf 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -1512,7 +1512,7 @@ individual_view_row_has_child_toggled_cb (GtkTreeModel *model,
* a hash table, and expand or contract them as appropriate all at once in
* an idle handler which iterates over all the group rows. */
if (g_hash_table_lookup_extended (priv->expand_groups, name, NULL,
- &will_expand) == FALSE &&
+ &will_expand) == FALSE ||
GPOINTER_TO_INT (will_expand) != should_expand)
{
g_hash_table_insert (priv->expand_groups, g_strdup (name),