]> git.0d.be Git - empathy.git/commitdiff
Fixed copy/paste mistake (Remove members from the right set)
authorLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>
Thu, 23 Jul 2009 14:56:42 +0000 (10:56 -0400)
committerLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>
Thu, 23 Jul 2009 14:59:51 +0000 (10:59 -0400)
libempathy/empathy-tp-contact-list.c

index c1c46b3ca3bff7cd6b298941024e534640784687..7c94bc756482a620b7457ece20144c306c9c0789 100644 (file)
@@ -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