Restored inline POP3 exists

pull/212/head
M66B 2 years ago
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)
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…
Cancel
Save