mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Prevent reappearing notifications
This commit is contained in:
parent
7c0d50203a
commit
a19214c033
1 changed files with 5 additions and 0 deletions
|
@ -5291,6 +5291,11 @@ class Core {
|
|||
remove.remove(id);
|
||||
Log.i("Notify existing=" + id);
|
||||
} else {
|
||||
EntityMessage msg = db.message().getMessage(message.id);
|
||||
if (msg == null || msg.ui_ignored) {
|
||||
Log.i("Notify skip id=" + message.id + " msg=" + (msg != null));
|
||||
continue;
|
||||
}
|
||||
boolean existing = remove.contains(-id);
|
||||
if (existing) {
|
||||
if (message.content && notify_preview) {
|
||||
|
|
Loading…
Reference in a new issue