mirror of
https://github.com/ryanamay/Vencord.git
synced 2024-09-20 09:00:33 +00:00
Compare commits
No commits in common. "c0c76298c8257b14a51c074b12c65cf0f865a8db" and "93e13858deb2110a7506b0539497d3f306a849ee" have entirely different histories.
c0c76298c8
...
93e13858de
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ export default definePlugin({
|
|||
{
|
||||
find: ".embedWrapper,embed",
|
||||
replacement: [{
|
||||
match: /\.container/,
|
||||
replace: "$&+(this.props.channel.nsfw? ' vc-nsfw-img': '')"
|
||||
match: /(?<=channel:\s*(n)).*?\.container/g,
|
||||
replace: "$&+($1.nsfw?' vc-nsfw-img':'')"
|
||||
}]
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue