mirror of https://github.com/M66B/FairEmail.git
Restored inline POP3 exists
This commit is contained in:
parent
6d86228422
commit
6c9d09faac
|
@ -558,16 +558,6 @@ public class EntityOperation {
|
|||
return;
|
||||
}
|
||||
|
||||
if (EXISTS.equals(name)) {
|
||||
EntityFolder f = db.folder().getFolder(folder);
|
||||
EntityMessage m = db.message().getMessage(message);
|
||||
if (f != null && m != null) {
|
||||
Log.i("POP3: inline EXISTS");
|
||||
EntityContact.received(context, a, f, m);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (DELETE.equals(name)) {
|
||||
EntityFolder f = db.folder().getFolder(folder);
|
||||
if (f != null &&
|
||||
|
|
|
@ -858,7 +858,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
|||
// Message could have been deleted
|
||||
EntityMessage orphan = db.message().getMessage(sid);
|
||||
if (orphan != null)
|
||||
EntityOperation.queue(this, orphan, EntityOperation.EXISTS);
|
||||
if (account == null || account.protocol == EntityAccount.TYPE_IMAP)
|
||||
EntityOperation.queue(this, orphan, EntityOperation.EXISTS);
|
||||
else if (sent != null)
|
||||
EntityContact.received(this, account, sent, message);
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue