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
This commit is contained in:
parent
f940b0b139
commit
f5d1a2858d
@ -9,7 +9,7 @@ try {
|
|||||||
({ TelepathyGLib: Tp, TelepathyLogger: Tpl } = imports.gi);
|
({ TelepathyGLib: Tp, TelepathyLogger: Tpl } = imports.gi);
|
||||||
|
|
||||||
Gio._promisify(Tp.Channel.prototype, 'close_async', 'close_finish');
|
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');
|
'send_message_async', 'send_message_finish');
|
||||||
Gio._promisify(Tp.ChannelDispatchOperation.prototype,
|
Gio._promisify(Tp.ChannelDispatchOperation.prototype,
|
||||||
'claim_with_async', 'claim_with_finish');
|
'claim_with_async', 'claim_with_finish');
|
||||||
|
Loading…
Reference in New Issue
Block a user