|
|
@ -55,15 +55,8 @@ function getTypeLabel({
|
|
|
|
if (MIME.isAudio(contentType)) {
|
|
|
|
if (MIME.isAudio(contentType)) {
|
|
|
|
return window.i18n('audio');
|
|
|
|
return window.i18n('audio');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (
|
|
|
|
|
|
|
|
!GoogleChrome.isVideoTypeSupported(contentType) &&
|
|
|
|
|
|
|
|
!GoogleChrome.isImageTypeSupported(contentType) &&
|
|
|
|
|
|
|
|
!MIME.isAudio(contentType)
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
return window.i18n('document');
|
|
|
|
return window.i18n('document');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const QuoteText = (
|
|
|
|
export const QuoteText = (
|
|
|
|
props: Pick<QuoteProps, 'text' | 'attachment' | 'isIncoming' | 'referencedMessageNotFound'>
|
|
|
|
props: Pick<QuoteProps, 'text' | 'attachment' | 'isIncoming' | 'referencedMessageNotFound'>
|
|
|
|