commands/msg/copy: remove unnecessary code
This commit is contained in:
parent
dd178262bb
commit
d63653ecde
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue