mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Fixed keeping notifications
This commit is contained in:
parent
5b34cfb6ec
commit
87931f9cc2
1 changed files with 3 additions and 1 deletions
|
@ -4342,7 +4342,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
if (!message.seen || ops > 0)
|
||||
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
||||
} else {
|
||||
if (!message.ui_ignored)
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean notify_remove = prefs.getBoolean("notify_remove", true);
|
||||
if (notify_remove && !message.ui_ignored)
|
||||
db.message().setMessageUiIgnored(message.id, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue