commands/msg/copy: remove unnecessary code
This commit is contained in:
parent
dd178262bb
commit
d63653ecde
1 changed files with 0 additions and 4 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue