Moves showLightbox to redux
This commit is contained in:
@@ -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();
|
||||
})
|
||||
|
Reference in New Issue
Block a user