diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-23 14:53:40 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-24 12:05:05 +0100 |
commit | 8e34a2952f3c45669580f3ab410a4283dbad1e93 (patch) | |
tree | 3c19ac2c2c25805350d03ae5644171d4f1d2dd3e | |
parent | 8442417b414d4144392f1d11cd2a2454bedd1826 (diff) | |
download | telepathy-haze-8e34a2952f3c45669580f3ab410a4283dbad1e93.tar.gz |
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.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
-rw-r--r-- | src/contact-list.c | 2 |
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; |