Fix direct embeds redirecting to gif version (#281)

This commit is contained in:
Dylan
2025-07-11 18:36:19 +01:00
parent cd39216891
commit a6be414129
2 changed files with 3 additions and 3 deletions

View File

@@ -415,7 +415,7 @@ def twitfix(sub_path):
embeddingMedia = tweetData['hasMedia']
renderMedia = None
if embeddingMedia:
renderMedia = determineMediaToEmbed(tweetData,embedIndex)
renderMedia = determineMediaToEmbed(tweetData,embedIndex,convertGif=False)
# direct embeds should always prioritize the main tweet, so don't check for qrt
# determine what type of media we're dealing with
if not embeddingMedia and qrt is None: