diff options
Diffstat (limited to 'commands/compose/encrypt.go')
-rw-r--r-- | commands/compose/encrypt.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/commands/compose/encrypt.go b/commands/compose/encrypt.go index b9094c5e..3121dff0 100644 --- a/commands/compose/encrypt.go +++ b/commands/compose/encrypt.go @@ -1,8 +1,6 @@ package compose import ( - "errors" - "git.sr.ht/~rjarry/aerc/app" ) @@ -21,12 +19,7 @@ func (Encrypt) Complete(args []string) []string { } func (Encrypt) Execute(args []string) error { - if len(args) != 1 { - return errors.New("Usage: encrypt") - } - composer, _ := app.SelectedTabContent().(*app.Composer) - composer.SetEncrypt(!composer.Encrypt()) return nil } |