1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

On show, always show in UI

This commit is contained in:
M66B 2021-01-16 13:24:18 +01:00
parent c30df15b44
commit 234b654238

View file

@ -4446,6 +4446,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
db.message().setMessageSnoozed(message.id, hide ? Long.MAX_VALUE : null);
db.message().setMessageUiIgnored(message.id, true);
if (!hide)
db.message().setMessageUiHide(message.id, false);
EntityMessage.snooze(context, message.id, hide ? Long.MAX_VALUE : null);
db.setTransactionSuccessful();