mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
ea2ed1e8cf
commit
1a602664c4
|
@ -232,12 +232,12 @@ public class ServiceUI extends IntentService {
|
|||
EntityFolder folder = db.folder().getFolder(message.folder);
|
||||
if (EntityFolder.OUTBOX.equals(folder.type)) {
|
||||
Log.i("Delayed send id=" + message.id);
|
||||
EntityOperation.queue(
|
||||
this, message, EntityOperation.SEND);
|
||||
} else if (folder.notify) {
|
||||
EntityOperation.queue(
|
||||
this, message, EntityOperation.SEEN, false);
|
||||
db.message().setMessageUiIgnored(message.id, false);
|
||||
EntityOperation.queue(this, message, EntityOperation.SEND);
|
||||
} else {
|
||||
if (folder.notify) {
|
||||
db.message().setMessageUiIgnored(message.id, false);
|
||||
EntityOperation.queue(this, message, EntityOperation.SEEN, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue