diff options
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r-- | commands/msg/archive.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go index 13f53290..49f375a8 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -4,6 +4,7 @@ import ( "fmt" "strings" "sync" + "time" "git.sr.ht/~rjarry/aerc/app" "git.sr.ht/~rjarry/aerc/commands" @@ -136,7 +137,8 @@ func archive(msgs []*models.MessageInfo, archiveType string) error { } else { s = "%d message archived to %s" } - handleDone(acct, next, fmt.Sprintf(s, len(uids), archiveDir), store) + app.PushStatus(fmt.Sprintf(s, len(uids), archiveDir), 10*time.Second) + handleDone(acct, next, store) } }() return nil |