Merge pull request #4686 from cketti/fix_pop3_move_to_trash

Move deleted message to Trash folder when using POP3
This commit is contained in:
cketti 2020-04-24 05:31:09 +02:00 committed by GitHub
commit 532b94bc69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2039,7 +2039,7 @@ public class MessagingController {
localFolder = localStore.getFolder(folder);
Map<String, String> uidMap = null;
if (folder.equals(account.getTrashFolder()) || !account.hasTrashFolder() ||
!backend.isDeleteMoveToTrash()) {
(backend.getSupportsTrashFolder() && !backend.isDeleteMoveToTrash())) {
Timber.d("Not moving deleted messages to local Trash folder. Removing local copies.");
if (!localOnlyMessages.isEmpty()) {