aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2009-07-23 22:56:42 +0800
committerLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2009-07-23 22:59:51 +0800
commit66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99 (patch)
tree885514e25f90db1fb89641d35def103301296393 /libempathy
parent9422fb338f29d3fb764f3237b12096d6b98012ba (diff)
downloadgsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar.gz
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar.bz2
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar.lz
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar.xz
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.tar.zst
gsoc2013-empathy-66f198c160fd6a8c1f3cce1a5e6237aeb1b20c99.zip
Fixed copy/paste mistake (Remove members from the right set)
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index c1c46b3ca..7c94bc756 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -471,7 +471,7 @@ tp_contact_list_publish_group_members_changed_cb (TpChannel *channel,
/* We refuse to send our presence to those contacts, remove from pendings */
for (i = 0; i < removed->len; i++) {
tp_contact_list_remove_handle (list, priv->pendings,
- g_array_index (added, TpHandle, i));
+ g_array_index (removed, TpHandle, i));
}
/* Those contacts want our presence, auto accept those that are already
@@ -618,7 +618,7 @@ tp_contact_list_subscribe_group_members_changed_cb (TpChannel *channel,
/* Those contacts refuse to send us their presence, remove from members. */
for (i = 0; i < removed->len; i++) {
tp_contact_list_remove_handle (list, priv->members,
- g_array_index (added, TpHandle, i));
+ g_array_index (removed, TpHandle, i));
}
/* We want those contacts in our contact list but we don't get their