Show lightbox for GIFs
This commit is contained in:
parent
62ab66c1c8
commit
c3bdf3d411
30 changed files with 790 additions and 815 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue