Return AlreadyDone from Imap.delete_msg if message is gone

This way DeleteMsgOnImap will remove invalid server_uid from the database.
This commit is contained in:
Alexander Krotov
2020-03-07 02:51:31 +03:00
parent 28af919b09
commit 6db03356b5

View File

@@ -1019,7 +1019,7 @@ impl Imap {
display_imap_id, display_imap_id,
message_id, message_id,
); );
return ImapActionResult::Failed; return ImapActionResult::AlreadyDone;
}; };
let remote_message_id = get_fetch_headers(fetch) let remote_message_id = get_fetch_headers(fetch)