diff options
author | Koni Marti <koni.marti@gmail.com> | 2022-07-11 20:11:20 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-14 23:14:54 +0200 |
commit | 845763cb1f1f8b7acdfc8e94e0a2d61ff78f6b9d (patch) | |
tree | 9859b9822d7d30dd1b2af7c338558bf2fcc508c6 /worker/maildir/worker.go | |
parent | c24a57687697411cde3bdcf39700385e7a689798 (diff) | |
download | aerc-845763cb1f1f8b7acdfc8e94e0a2d61ff78f6b9d.tar.gz |
account: export folder to mbox file
Export all message in the current folder to an mbox file. If an error
occurs during the export, aerc retries a few times before giving up to
prevent a hang.
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/maildir/worker.go')
-rw-r--r-- | worker/maildir/worker.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index cc03ec81..b217bd28 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -550,6 +550,9 @@ func (w *Worker) handleFetchFullMessages(msg *types.FetchFullMessages) error { }, }, nil) } + w.worker.PostMessage(&types.Done{ + Message: types.RespondTo(msg), + }, nil) return nil } |