Commit b5924afd authored by Philipp Hörist's avatar Philipp Hörist

Interface: Don't try to disconnect on remove_account()

When this method is called we are already disconnected
parent 832c8af9
Pipeline #5249 passed with stages
in 3 minutes and 14 seconds
......@@ -1780,10 +1780,6 @@ class Interface:
app.app.update_app_actions_state()
def remove_account(self, account):
if account in app.connections:
app.connections[account].disconnect(gracefully=True,
reconnect=False)
if app.config.get_per('accounts', account, 'active'):
self.disable_account(account)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment