diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index b51bedc4c..0c9514e2b 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -9,7 +9,7 @@ try { ({ TelepathyGLib: Tp, TelepathyLogger: Tpl } = imports.gi); Gio._promisify(Tp.Channel.prototype, 'close_async', 'close_finish'); - Gio._promisify(Tp.Channel.prototype, + Gio._promisify(Tp.TextChannel.prototype, 'send_message_async', 'send_message_finish'); Gio._promisify(Tp.ChannelDispatchOperation.prototype, 'claim_with_async', 'claim_with_finish');