aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/encrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/encrypt.go')
-rw-r--r--commands/compose/encrypt.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/commands/compose/encrypt.go b/commands/compose/encrypt.go
index d63940b8..3bd8ca42 100644
--- a/commands/compose/encrypt.go
+++ b/commands/compose/encrypt.go
@@ -2,7 +2,6 @@ package compose
import (
"errors"
- "time"
"git.sr.ht/~rjarry/aerc/widgets"
)
@@ -29,16 +28,5 @@ func (Encrypt) Execute(aerc *widgets.Aerc, args []string) error {
composer, _ := aerc.SelectedTab().(*widgets.Composer)
composer.SetEncrypt(!composer.Encrypt())
-
- var statusline string
-
- if composer.Encrypt() {
- statusline = "Message will be encrypted."
- } else {
- statusline = "Message will not be encrypted."
- }
-
- aerc.PushStatus(statusline, 10*time.Second)
-
return nil
}