mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
Warn if IMAP deletion is scheduled for message without UID
This commit is contained in:
committed by
link2xt
parent
c7d72d64cc
commit
0816e6d0f6
@@ -570,6 +570,11 @@ impl Job {
|
||||
context,
|
||||
"The message is deleted from the server when all parts are deleted.",
|
||||
);
|
||||
} else if cnt == 0 {
|
||||
warn!(
|
||||
context,
|
||||
"The message {} has no UID on the server to delete", &msg.rfc724_mid
|
||||
);
|
||||
} else {
|
||||
/* if this is the last existing part of the message,
|
||||
we delete the message from the server */
|
||||
|
||||
Reference in New Issue
Block a user