Added shortcuts for POP3 operations

This commit is contained in:
M66B
2023-01-25 10:33:16 +01:00
parent a9ca0f3339
commit 2902053f37
3 changed files with 39 additions and 44 deletions

View File

@@ -858,10 +858,7 @@ 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);
EntityOperation.queue(this, orphan, EntityOperation.EXISTS);
db.setTransactionSuccessful();
} finally {