0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 12:12:15 +02:00

POP3: Fix logic to delete messages on the server

This commit is contained in:
cketti 2023-01-26 12:22:37 +01:00
parent 5220c66d61
commit b1426e5e84

View File

@ -2095,7 +2095,7 @@ public class MessagingController {
// Nothing to do on the remote side
} else if (!syncedMessageUids.isEmpty()) {
if (account.getDeletePolicy() == DeletePolicy.ON_DELETE) {
if (doNotMoveToTrashFolder) {
if (doNotMoveToTrashFolder || !backend.getSupportsTrashFolder()) {
queueDelete(account, folderId, syncedMessageUids);
} else if (account.isMarkMessageAsReadOnDelete()) {
queueMoveOrCopy(account, folderId, trashFolderId,