On show, always show in UI

pull/191/head
M66B 4 years ago
parent c30df15b44
commit 234b654238

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

Loading…
Cancel
Save