mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-06 02:50:54 +01:00
More lenient matching for Telegram
This commit is contained in:
parent
903a42a968
commit
423409b457
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export const renderVideo = (
|
||||||
|
|
||||||
if (
|
if (
|
||||||
experimentCheck(Experiment.TRANSCODE_GIFS, !!Constants.GIF_TRANSCODE_DOMAIN) &&
|
experimentCheck(Experiment.TRANSCODE_GIFS, !!Constants.GIF_TRANSCODE_DOMAIN) &&
|
||||||
!userAgent?.includes('TelegramBot') &&
|
!userAgent?.includes('Telegram') &&
|
||||||
video.type === 'gif'
|
video.type === 'gif'
|
||||||
) {
|
) {
|
||||||
url = video.url.replace(
|
url = video.url.replace(
|
||||||
|
|
Loading…
Add table
Reference in a new issue