mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Prevent reappearing notifications
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user