diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-08-16 16:23:40 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-22 15:46:54 +0200 |
commit | af72ca36072615f3afc79d7a3f28f82e381b618c (patch) | |
tree | 1c5f4353568cc683b8fb72d323797bc9b591ea3c /worker/imap/observer.go | |
parent | 64e1a7ca933b404d3556e776d0373069c1a0b763 (diff) | |
download | aerc-af72ca36072615f3afc79d7a3f28f82e381b618c.tar.gz |
maildir: implement MoveMessages handling
Implement MoveMessages in the maildir worker. go-maildir supports Move
operations by default, and is functionally equivalent to a OS-level
rename. Creation date of the file is preserved by using Move, which is
used by at least one maildir-to-IMAP synchronizer (isync/mbsync). The
previous move method of copy-and-delete would reset the creation date of
the message, and potentially cause sorting issues in other email
clients.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/observer.go')
0 files changed, 0 insertions, 0 deletions