Moves show all media to react pane

This commit is contained in:
Josh Perez
2022-12-20 12:50:23 -05:00
committed by GitHub
parent cdb779508b
commit d8ea9856ec
25 changed files with 572 additions and 543 deletions

View File

@@ -24,9 +24,7 @@ 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
);
window.reduxActions.conversations.messageExpired(message.id);
await message.eraseContents();
})