summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/contact-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact-list.c b/src/contact-list.c
index 13bf348..fc46de8 100644
--- a/src/contact-list.c
+++ b/src/contact-list.c
@@ -1023,7 +1023,7 @@ haze_contact_list_set_contact_groups_async (TpBaseContactList *cl,
for (i = 0; i < n_names; i++)
{
- if (tp_strdiff (group_name, names[i]))
+ if (!tp_strdiff (group_name, names[i]))
{
desired = TRUE;
break;