mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Allow empty POP3 trash
This commit is contained in:
parent
d8a15daa82
commit
0178351623
1 changed files with 2 additions and 1 deletions
|
@ -6452,7 +6452,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
for (Long id : ids) {
|
||||
EntityMessage message = db.message().getMessage(id);
|
||||
if (message != null &&
|
||||
(message.uid != null || !TextUtils.isEmpty(message.msgid))) {
|
||||
(account.protocol == EntityAccount.TYPE_POP ||
|
||||
message.uid != null || !TextUtils.isEmpty(message.msgid))) {
|
||||
Log.i("Deleting account=" + account.id + " folder=" + folder.id + " message=" + message.id);
|
||||
EntityOperation.queue(context, message, EntityOperation.DELETE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue