mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Hide long message attachments in quotes
This commit is contained in:
@@ -29,3 +29,5 @@ export const isVideo = (value: string): value is MIMEType =>
|
||||
// recognize them as file attachments.
|
||||
export const isAudio = (value: string): value is MIMEType =>
|
||||
Boolean(value) && value.startsWith('audio/') && !value.endsWith('aiff');
|
||||
export const isLongMessage = (value: unknown): value is MIMEType =>
|
||||
value === LONG_MESSAGE;
|
||||
|
||||
Reference in New Issue
Block a user