💚 Remove unused mp4 url check
This commit is contained in:
@@ -69,9 +69,6 @@ export const convertMessageToWhatsAppMessage = (
|
|||||||
export const isImageUrlNotCompatible = (url: string) =>
|
export const isImageUrlNotCompatible = (url: string) =>
|
||||||
!isHttpUrl(url) || isGifFileUrl(url) || isSvgSrc(url)
|
!isHttpUrl(url) || isGifFileUrl(url) || isSvgSrc(url)
|
||||||
|
|
||||||
export const isVideoUrlNotCompatible = (url: string) =>
|
|
||||||
!mp4HttpsUrlRegex.test(url)
|
|
||||||
|
|
||||||
export const isHttpUrl = (text: string) =>
|
export const isHttpUrl = (text: string) =>
|
||||||
text.startsWith('http://') || text.startsWith('https://')
|
text.startsWith('http://') || text.startsWith('https://')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user