telepathyClient: Fix GAsyncReadyCallback

This caused a minor error.
This commit is contained in:
Jasper St. Pierre 2011-06-28 11:42:41 -04:00
parent e2e3b29ed1
commit cbb9a7ab96

View File

@ -382,7 +382,9 @@ Source.prototype = {
} }
let msg = Tp.ClientMessage.new_text(type, text); 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) { _presenceChanged: function (contact, presence, status, message) {