From 8c5ebd3d5ce960411b228901a542964baa1f228d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 23 Sep 2013 14:53:40 +0100 Subject: [PATCH 10/16] haze_contact_list_set_contact_groups_async: fix sense of test We want to remove the buddy from every group *not* listed in the argument. --- src/contact-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contact-list.c b/src/contact-list.c index 107f9e9..7397c1d 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; -- 1.8.4.rc3