diff options
-rw-r--r-- | commands/compose/switch.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/compose/switch.go b/commands/compose/switch.go index 58702b5b..2b6aadb5 100644 --- a/commands/compose/switch.go +++ b/commands/compose/switch.go @@ -70,6 +70,10 @@ func (SwitchAccount) Execute(aerc *widgets.Aerc, args []string) error { if err != nil { return err } + if err = switcher.SwitchAccount(acct); err != nil { + return err + } + acct.UpdateStatus() - return switcher.SwitchAccount(acct) + return nil } |