1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-07-01 03:30:21 +02:00
aerc/worker/maildir
Folker Schwesinger 0d46a43a14 maildir: fix filename encoded UID removal when moving messages
Recently, in the process of updating the codebase to go-maildir v0.6.0
the logic to strip potential UID parts from the message filenames was
dropped. However, maildir synchronizer isync/mbsync encodes the UID
within the filename of the email and cannot recover if the UID is
preserved during a move.

Re-add the UID stripping logic to remove the "U=xxx" part from message
filenames.

Fixes: 730624ce ("mod: update go-maildir")
Link: https://lists.sr.ht/~rjarry/aerc-devel/patches/34893
Link: https://lists.sr.ht/~rjarry/aerc-discuss/%3CDACSXDU86DC3.LPLLI44C0QAK@sbinet.org%3E
Signed-off-by: Folker Schwesinger <dev@folker-schwesinger.de>
Tested-by: Sebastien Binet <s@sbinet.org>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-06-05 12:44:08 +02:00
..
container.go maildir: fix filename encoded UID removal when moving messages 2025-06-05 12:44:08 +02:00
message.go mod: update go-maildir 2025-05-25 19:05:07 +02:00
search.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
worker.go mod: update go-maildir 2025-05-25 19:05:07 +02:00