aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-28 16:16:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-28 16:16:32 +0800
commit11ae12abf0ac6bb90e5eabb2d205235b0ed08606 (patch)
tree14ef08ce2452406d87f9515479cb9f5099107b2f /libempathy
parentac2baa625e8c0bcb57a8ceec4d34d046135b0171 (diff)
downloadgsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar.gz
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar.bz2
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar.lz
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar.xz
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.tar.zst
gsoc2013-empathy-11ae12abf0ac6bb90e5eabb2d205235b0ed08606.zip
Look in the local_pendings list if a contact is already local pending. Fix
2007-09-28 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-group.c: Look in the local_pendings list if a contact is already local pending. * tests/contact-manager.c: Fix white space typo. svn path=/trunk/; revision=326
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index 1ffab9ecd..1ba361d17 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -256,7 +256,7 @@ tp_group_members_changed_cb (DBusGProxy *group_iface,
contacts = tp_group_get_contacts (group, local_pending);
for (l = contacts; l; l = l->next) {
/* If the contact is not yet local-pending, add it and emit signal */
- if (!g_list_find_custom (priv->members, l->data,
+ if (!g_list_find_custom (priv->local_pendings, l->data,
tp_group_local_pending_find)) {
EmpathyPendingInfo *info;