fix patch

This commit is contained in:
thororen1234 2026-01-26 22:41:04 -05:00
parent 20c29da5d7
commit 6ffef27162
No known key found for this signature in database

View file

@ -65,7 +65,7 @@ export default definePlugin({
},
// Always return static thumbnails for non gif media to prevent graphical glitches (side effect of the first patch).
{
match: /getSrc\(\i\)\{let \i=/,
match: /getSrc\(\i\)\{.*?let \i=/,
replace: "$&!this.constructor.isAnimated(this.props,true)||"
},
// Hide the default "GIF" tag accessory that is visible when discord is unfocused.