[gnome-shell/gnome-3-38] telepathyClient: Promisify the right class
- From: verdre <jonasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-38] telepathyClient: Promisify the right class
- Date: Thu, 22 Oct 2020 23:12:33 +0000 (UTC)
commit c555f19b10c3193e02815f13951348a437034113
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 22 19:09:35 2020 +0000
telepathyClient: Promisify the right class
send_message_async() is a method of TpTextChannel, not the generic
TpChannel parent class.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3226
(cherry picked from commit f5d1a2858d2a54f0344648ead219c553cd482737)
js/ui/components/telepathyClient.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index b51bedc4c2..0c9514e2b5 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');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]