mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Refactoring
This commit is contained in:
parent
a33238ebbd
commit
dc579b1309
1 changed files with 2 additions and 1 deletions
|
@ -391,12 +391,13 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
break;
|
||||
|
||||
case "snooze":
|
||||
db.message().setMessageSnoozed(message.id, null);
|
||||
|
||||
EntityFolder folder = db.folder().getFolder(message.folder);
|
||||
if (EntityFolder.OUTBOX.equals(folder.type)) {
|
||||
Log.i("Delayed send id=" + message.id);
|
||||
EntityOperation.queue(ServiceSynchronize.this, db, message, EntityOperation.SEND);
|
||||
}
|
||||
db.message().setMessageSnoozed(message.id, null);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue