mirror of https://github.com/M66B/FairEmail.git
Prevent new message notifications on undo swipe
This commit is contained in:
parent
8b18e1ac4c
commit
24add89a98
|
@ -577,6 +577,8 @@ public class FragmentMessages extends FragmentEx {
|
||||||
for (EntityMessage threaded : messages) {
|
for (EntityMessage threaded : messages) {
|
||||||
result.ids.add(threaded.id);
|
result.ids.add(threaded.id);
|
||||||
db.message().setMessageUiHide(threaded.id, true);
|
db.message().setMessageUiHide(threaded.id, true);
|
||||||
|
// Prevent new message notification on undo
|
||||||
|
db.message().setMessageUiIgnored(threaded.id, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
db.setTransactionSuccessful();
|
db.setTransactionSuccessful();
|
||||||
|
|
Loading…
Reference in New Issue