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
1 changed files with 0 additions and 4 deletions

View File

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