mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +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,
|
context,
|
||||||
"The message is deleted from the server when all parts are deleted.",
|
"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 {
|
} else {
|
||||||
/* if this is the last existing part of the message,
|
/* if this is the last existing part of the message,
|
||||||
we delete the message from the server */
|
we delete the message from the server */
|
||||||
|
|||||||
Reference in New Issue
Block a user