From cbb9a7ab9679719f7184242bf2a4d6c02d61b1dc Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 28 Jun 2011 11:42:41 -0400 Subject: [PATCH] telepathyClient: Fix GAsyncReadyCallback This caused a minor error. --- js/ui/telepathyClient.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index 5fb7fb0b9..14e1d4e47 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -382,7 +382,9 @@ Source.prototype = { } let msg = Tp.ClientMessage.new_text(type, text); - this._channel.send_message_async(msg, 0, Lang.bind(this, function (src, result) { this._channel.send_message_finish(src, result); })); + this._channel.send_message_async(msg, 0, Lang.bind(this, function (src, result) { + this._channel.send_message_finish(result); + })); }, _presenceChanged: function (contact, presence, status, message) {