summary refs log tree commit diff stats
path: root/commands/msg/copy.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/copy.go')
-rw-r--r--commands/msg/copy.go4
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(