telepathy-client: Adjust to gjs array changes

Since bug 646632 was fixed, array lengths are no longer passed as
separate parameters. Adjust to that change.
This commit is contained in:
Florian Müllner 2011-06-24 00:20:43 +02:00
parent 4c5f3aa971
commit e5fadb3b42

View File

@ -103,7 +103,7 @@ Client.prototype = {
this._finishObserveChannels(account, conn, channels, context);
} else {
Shell.get_self_contact_features(conn,
contactFeatures.length, contactFeatures,
contactFeatures,
Lang.bind(this, function() {
this._finishObserveChannels(account, conn, channels, context);
}));
@ -123,8 +123,8 @@ Client.prototype = {
continue;
/* Request a TpContact */
Shell.get_tp_contacts(conn, 1, [targetHandle],
contactFeatures.length, contactFeatures,
Shell.get_tp_contacts(conn, [targetHandle],
contactFeatures,
Lang.bind(this, function (connection, contacts, failed) {
if (contacts.length < 1)
return;