From e5fadb3b42f031194a773259fb84203daaf001c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 24 Jun 2011 00:20:43 +0200 Subject: [PATCH] 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. --- js/ui/telepathyClient.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index ba6113d8f..5893c583c 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -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;