# HG changeset patch # User Goffi # Date 1580845637 -3600 # Node ID 415de998b91dcd3bc36d217aac3ac1915bae60ad # Parent 6dacaf81339ac484b9266c8dd15b7a56321a336b share widget: use new return value of doAction to get chat widget diff -r 6dacaf81339a -r 415de998b91d cagou/core/share_widget.py --- a/cagou/core/share_widget.py Tue Feb 04 20:47:17 2020 +0100 +++ b/cagou/core/share_widget.py Tue Feb 04 20:47:17 2020 +0100 @@ -123,8 +123,7 @@ filter_(self.data, callback=callback, errback=errback) def filterDataCb(self, data, contact_jid, profile): - G.host.doAction('chat', contact_jid, [profile]) - chat_wid = G.host.selected_widget + chat_wid = G.host.doAction('chat', contact_jid, [profile]) if self.type == 'text' and 'text' in self.data: text = self.data['text']