commands/msg/copy: remove unnecessary code

This commit is contained in:
Drew DeVault 2019-06-09 14:54:27 -04:00
parent dd178262bb
commit d63653ecde

View file

@ -35,10 +35,6 @@ func Copy(aerc *widgets.Aerc, args []string) error {
}
widget := aerc.SelectedTab().(widgets.ProvidesMessage)
acct := widget.SelectedAccount()
if acct == nil {
return errors.New("No account selected")
}
msg := widget.SelectedMessage()
store := widget.Store()
store.Copy([]uint32{msg.Uid}, args[optind+1], createParents, func(