fix potential traceback. Fixes #4780
This commit is contained in:
parent
beb32a3d1c
commit
89a1e55a85
|
@ -606,6 +606,7 @@ _('Without a connection, you can not browse available services'))
|
||||||
|
|
||||||
# self.browser._get_agent_address() would break when no browser.
|
# self.browser._get_agent_address() would break when no browser.
|
||||||
addr = get_agent_address(self.jid, self.node)
|
addr = get_agent_address(self.jid, self.node)
|
||||||
|
if addr in gajim.interface.instances[self.account]['disco']:
|
||||||
del gajim.interface.instances[self.account]['disco'][addr]
|
del gajim.interface.instances[self.account]['disco'][addr]
|
||||||
|
|
||||||
if self.browser:
|
if self.browser:
|
||||||
|
|
Loading…
Reference in New Issue