On show, always show in UI

This commit is contained in:
M66B 2021-01-16 13:24:18 +01:00
parent c30df15b44
commit 234b654238
1 changed files with 2 additions and 0 deletions

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();