Simplification

pull/190/head
M66B 4 years ago
parent 22e5db815a
commit e9113b3d57

@ -1205,10 +1205,8 @@ 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)

Loading…
Cancel
Save