Revert "Simplification"

This reverts commit e9113b3d57.
This commit is contained in:
M66B 2021-01-02 08:50:28 +01:00
parent b85474c062
commit 14ce0a02aa
1 changed files with 3 additions and 1 deletions

View File

@ -1195,8 +1195,10 @@ class Core {
throw new IllegalArgumentException("account missing"); throw new IllegalArgumentException("account missing");
try { try {
if (removed) if (removed) {
db.message().deleteMessage(folder.id, uid);
throw new MessageRemovedException("removed uid=" + uid); throw new MessageRemovedException("removed uid=" + uid);
}
MimeMessage imessage = (MimeMessage) ifolder.getMessageByUID(uid); MimeMessage imessage = (MimeMessage) ifolder.getMessageByUID(uid);
if (imessage == null) if (imessage == null)