More lenient matching for Telegram

This commit is contained in:
dangered wolf 2024-04-28 22:40:05 -04:00
parent 903a42a968
commit 423409b457
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -52,7 +52,7 @@ export const renderVideo = (
if (
experimentCheck(Experiment.TRANSCODE_GIFS, !!Constants.GIF_TRANSCODE_DOMAIN) &&
!userAgent?.includes('TelegramBot') &&
!userAgent?.includes('Telegram') &&
video.type === 'gif'
) {
url = video.url.replace(