Small improvement

This commit is contained in:
M66B 2019-06-18 19:54:23 +02:00
parent ea2ed1e8cf
commit 1a602664c4
1 changed files with 6 additions and 6 deletions

View File

@ -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);
}
}
}