mirror of https://github.com/M66B/FairEmail.git
Prevent POP3 inbox delete
This commit is contained in:
parent
f85c184681
commit
dbe569e065
|
@ -958,6 +958,10 @@ class Core {
|
|||
message.ui_flagged = false;
|
||||
message.ui_hide = false;
|
||||
|
||||
// Prevent deleting message from inbox
|
||||
if (message.uidl == null)
|
||||
message.uidl = message.msgid;
|
||||
|
||||
db.message().updateMessage(message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue