]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-contact-list.c
index begin at 0 and not 1 for GArray
[empathy.git] / libempathy / empathy-tp-contact-list.c
index 876e356f4ec54a8b6e270fdab30d625d44efdd68..7988a3ea1098b562c28bce3607992916f88bf1dd 100644 (file)
@@ -292,7 +292,7 @@ tp_contact_list_group_request_handles_cb (TpConnection *connection,
                return;
        }
 
                return;
        }
 
-       data->channel_handle = g_array_index (handles, TpHandle, 1);
+       data->channel_handle = g_array_index (handles, TpHandle, 0);
        data->ref_count++;
        tp_cli_connection_call_request_channel (connection, -1,
                                                TP_IFACE_CHANNEL_TYPE_CONTACT_LIST,
        data->ref_count++;
        tp_cli_connection_call_request_channel (connection, -1,
                                                TP_IFACE_CHANNEL_TYPE_CONTACT_LIST,