1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

Prevent new message notifications on undo swipe

This commit is contained in:
M66B 2018-12-27 17:58:43 +00:00
parent 8b18e1ac4c
commit 24add89a98

View file

@ -577,6 +577,8 @@ public class FragmentMessages extends FragmentEx {
for (EntityMessage threaded : messages) {
result.ids.add(threaded.id);
db.message().setMessageUiHide(threaded.id, true);
// Prevent new message notification on undo
db.message().setMessageUiIgnored(threaded.id, true);
}
db.setTransactionSuccessful();