s/Sent/Message sent/
This commit is contained in:
parent
b275a394e2
commit
e436780b47
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
|
||||||
}, func(msg types.WorkerMessage) {
|
}, func(msg types.WorkerMessage) {
|
||||||
switch msg := msg.(type) {
|
switch msg := msg.(type) {
|
||||||
case *types.Done:
|
case *types.Done:
|
||||||
aerc.SetStatus("Sent.")
|
aerc.SetStatus("Message sent.")
|
||||||
r.Close()
|
r.Close()
|
||||||
composer.Close()
|
composer.Close()
|
||||||
case *types.Error:
|
case *types.Error:
|
||||||
|
@ -192,7 +192,7 @@ func SendMessage(aerc *widgets.Aerc, args []string) error {
|
||||||
composer.WriteMessage(header, w)
|
composer.WriteMessage(header, w)
|
||||||
w.Close()
|
w.Close()
|
||||||
} else {
|
} else {
|
||||||
aerc.SetStatus("Sent.")
|
aerc.SetStatus("Message sent.")
|
||||||
composer.Close()
|
composer.Close()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in a new issue