Show lightbox for GIFs

This commit is contained in:
Fedor Indutny 2021-07-14 16:39:52 -07:00 committed by GitHub
parent 62ab66c1c8
commit c3bdf3d411
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 790 additions and 815 deletions

View file

@ -1,13 +1,11 @@
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { DownloadAttachmentType } from '../textsecure.d';
import { AttachmentType } from '../types/Attachment';
import { AttachmentType, DownloadedAttachmentType } from '../types/Attachment';
export async function downloadAttachment(
attachmentData: AttachmentType
): Promise<DownloadAttachmentType | null> {
): Promise<DownloadedAttachmentType | null> {
let migratedAttachment: AttachmentType;
const { id: legacyId } = attachmentData;