Send text attachment stories

This commit is contained in:
Josh Perez
2022-08-02 15:31:55 -04:00
committed by GitHub
parent 0340f4ee1d
commit 9eff67446f
22 changed files with 1635 additions and 339 deletions

View File

@@ -25,6 +25,7 @@ export const IMAGE_BMP = stringToMIMEType('image/bmp');
export const VIDEO_MP4 = stringToMIMEType('video/mp4');
export const VIDEO_QUICKTIME = stringToMIMEType('video/quicktime');
export const LONG_MESSAGE = stringToMIMEType('text/x-signal-plain');
export const TEXT_ATTACHMENT = stringToMIMEType('text/x-signal-story');
export const isHeic = (value: string, fileName: string): boolean =>
value === 'image/heic' ||