Skip to content

Commit

Permalink
feat: Update media thumbnail handling in quote generation
Browse files Browse the repository at this point in the history
  • Loading branch information
LyoSU committed Jun 6, 2024
1 parent 8bce00a commit 511135f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/quote-generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 511135f

Please sign in to comment.