Fix lightbox for tap-to-view GIFs

This commit is contained in:
Fedor Indutny
2021-09-02 14:38:46 -07:00
committed by GitHub
parent ddc591e962
commit 30075f18fc
3 changed files with 38 additions and 16 deletions
-5
View File
@@ -2122,11 +2122,6 @@ export class Message extends React.PureComponent<Props, State> {
const isAttachmentPending = this.isAttachmentPending();
if (isGIF(attachments)) {
window.log.info("<Message> handleOpen: lightbox doesn't open for GIFs");
return;
}
if (isTapToView) {
if (isAttachmentPending) {
window.log.info(