Revert "Remove duration from the status methods"

This reverts commit f06d683688.
This commit is contained in:
Drew DeVault 2020-05-28 10:32:32 -04:00
commit 76a91813d8
29 changed files with 104 additions and 74 deletions
commands/msg

View file

@ -7,6 +7,7 @@ import (
"io"
gomail "net/mail"
"strings"
"time"
"git.sr.ht/~sircmpwn/getopt"
@ -139,7 +140,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
composer, err := widgets.NewComposer(aerc, acct, aerc.Config(),
acct.AccountConfig(), acct.Worker(), template, defaults, original)
if err != nil {
aerc.PushError("Error: " + err.Error())
aerc.PushError("Error: "+err.Error(), 10*time.Second)
return err
}