about summary refs log tree commit diff stats
path: root/commands/compose
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose')
-rw-r--r--commands/compose/send.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go
index c8f7cc5..f726a60 100644
--- a/commands/compose/send.go
+++ b/commands/compose/send.go
@@ -246,8 +246,7 @@ func (Send) Execute(aerc *widgets.Aerc, args []string) error {
 					r.Close()
 					composer.Close()
 				case *types.Error:
-					aerc.PushStatus(" "+msg.Error.Error(), 10*time.Second).
-						Color(tcell.ColorDefault, tcell.ColorRed)
+					aerc.PushError(" "+msg.Error.Error())
 					r.Close()
 					composer.Close()
 				}