fix patch
This commit is contained in:
parent
20c29da5d7
commit
6ffef27162
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue