aboutsummaryrefslogtreecommitdiffstats
path: root/worker/worker.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-01-28 22:50:02 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-29 22:01:25 +0100
commitcdec23323c644b1805ca9cca138e7fa91be6ab6d (patch)
tree906d3ba137afe22a7eb496a5fab856045279178e /worker/worker.go
parentfc07495ee889f45e1df9ef928bde5410d01eb90d (diff)
downloadaerc-cdec23323c644b1805ca9cca138e7fa91be6ab6d.tar.gz
recover: recover emails from tempdir after a crash
implements a recover command that searches the local temp dir for aerc emails. If a file is found and selected, a new composer tab will open with the file contents as the message body. No header data is stored in the temp file and thus this information cannot be recovered. Recover will not remove the temporary file unless the force flag (-f) is explicitly used. This recovery method only works when the editor buffer is saved to disk and the Close() function of the composer has not been called yet. Sending, postponing or quitting will call the Close() function which removes the temporary file completely. After Close() is called, no recovery is possible anymore. Signed-off-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'worker/worker.go')
0 files changed, 0 insertions, 0 deletions