Small improvement

pull/156/head
M66B 5 years ago
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…
Cancel
Save