|
|
@ -858,7 +858,10 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
|
|
|
// Message could have been deleted
|
|
|
|
// Message could have been deleted
|
|
|
|
EntityMessage orphan = db.message().getMessage(sid);
|
|
|
|
EntityMessage orphan = db.message().getMessage(sid);
|
|
|
|
if (orphan != null)
|
|
|
|
if (orphan != null)
|
|
|
|
|
|
|
|
if (account == null || account.protocol == EntityAccount.TYPE_IMAP)
|
|
|
|
EntityOperation.queue(this, orphan, EntityOperation.EXISTS);
|
|
|
|
EntityOperation.queue(this, orphan, EntityOperation.EXISTS);
|
|
|
|
|
|
|
|
else if (sent != null)
|
|
|
|
|
|
|
|
EntityContact.received(this, account, sent, message);
|
|
|
|
|
|
|
|
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
db.setTransactionSuccessful();
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|