prevent traceback when ping reply arrives after we close the control; without
error too. Fixes #3859.
This commit is contained in:
parent
5348c3a37f
commit
edb5910c1d
|
@ -2172,6 +2172,7 @@ class Interface:
|
|||
ctrl = self.msg_win_mgr.get_control(contact.get_full_jid(), account)
|
||||
if ctrl == None:
|
||||
ctrl = self.msg_win_mgr.get_control(contact.jid, account)
|
||||
if ctrl:
|
||||
ctrl.print_conversation(_('Pong! (%s s.)') % seconds, 'status')
|
||||
|
||||
def handle_event_ping_error(self, account, contact):
|
||||
|
|
Loading…
Reference in New Issue