Moves showLightbox to redux

This commit is contained in:
Josh Perez
2022-12-09 21:02:22 -05:00
committed by GitHub
parent 3a246656e3
commit 635a59a473
38 changed files with 584 additions and 504 deletions

View File

@@ -24,6 +24,9 @@ async function eraseTapToViewMessages() {
// We do this to update the UI, if this message is being displayed somewhere
message.trigger('expired');
window.reduxActions.lightbox.closeLightboxIfViewingExpiredMessage(
message.id
);
await message.eraseContents();
})