From 511135f90f031e9ed0e3504d5bcbc59b5f4c7a6b Mon Sep 17 00:00:00 2001 From: Yuri Ly Date: Thu, 6 Jun 2024 14:31:50 +0300 Subject: [PATCH] feat: Update media thumbnail handling in quote generation --- utils/quote-generate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/quote-generate.js b/utils/quote-generate.js index e83bb0f..32830b6 100644 --- a/utils/quote-generate.js +++ b/utils/quote-generate.js @@ -1071,7 +1071,7 @@ class QuoteGenerate { if (message.text && maxMediaSize < textCanvas.width) maxMediaSize = textCanvas.width if (media.is_animated) { - media = media.thumbnail + media = media.thumb maxMediaSize = maxMediaSize / 2 }