GIF attachments

This commit is contained in:
Fedor Indutny 2021-04-27 15:11:59 -07:00 committed by Scott Nonnenberg
parent 5f17d01f49
commit caf1d4c4da
15 changed files with 526 additions and 93 deletions

4
ts/window.d.ts vendored
View file

@ -263,6 +263,9 @@ declare global {
deviceName: string;
}
| undefined;
Accessibility: {
reducedMotionSetting: boolean;
};
Signal: {
Backbone: any;
AttachmentDownloads: {
@ -376,6 +379,7 @@ declare global {
isVoiceMessage: (attachments: unknown) => boolean;
isImage: typeof Attachment.isImage;
isGIF: typeof Attachment.isGIF;
isVideo: typeof Attachment.isVideo;
isAudio: typeof Attachment.isAudio;