From be573767f464d53050f0affb25a09dd01d59297e Mon Sep 17 00:00:00 2001 From: Hocuri Date: Thu, 4 Jun 2020 17:54:44 +0200 Subject: [PATCH] Comments --- src/job.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/job.rs b/src/job.rs index c0a8c1b91..7cffba035 100644 --- a/src/job.rs +++ b/src/job.rs @@ -515,8 +515,8 @@ impl Job { { ImapActionResult::RetryLater => Status::RetryLater, ImapActionResult::Success => { - // XXX Rust-Imap provides no target uid on mv, so just set it to 0 - message::update_server_uid(context, &msg.rfc724_mid, &dest_folder, 0).await; // The server_uid is set to 0 and then the email can't be found in MarkseenMsgOnImap() -> set_seen() -> prepare_imap_operation_on_msg(). + // Rust-Imap provides no target uid on mv, so just set it to 0, update again when precheck_imf() is called for the moved message + message::update_server_uid(context, &msg.rfc724_mid, &dest_folder, 0).await; Status::Finished(Ok(())) } ImapActionResult::Failed => {