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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 16 deletions

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(