telepathy-haze: haze_contact_list_set_contact_groups_async: fix sense of test
Simon McVittie
smcv at kemper.freedesktop.org
Tue Sep 24 04:13:35 PDT 2013
Module: telepathy-haze
Branch: master
Commit: 8e34a2952f3c45669580f3ab410a4283dbad1e93
URL: http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=8e34a2952f3c45669580f3ab410a4283dbad1e93
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Mon Sep 23 14:53:40 2013 +0100
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 at collabora.co.uk>
---
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;
More information about the telepathy-commits
mailing list