diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-09 14:54:27 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-09 14:54:27 -0400 |
commit | d63653ecdeb19c0fb4b3ea976c3e5ea96b408112 (patch) | |
tree | 31e2044fc27afcad491ca3732974d677f50a06c3 /commands/msg/copy.go | |
parent | dd178262bb1d01f9f7d4710431547041bde52d89 (diff) |
commands/msg/copy: remove unnecessary code
Diffstat (limited to 'commands/msg/copy.go')
-rw-r--r-- | commands/msg/copy.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 0d9836b..f862548 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -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( |