Compare commits

..

No commits in common. "c0c76298c8257b14a51c074b12c65cf0f865a8db" and "93e13858deb2110a7506b0539497d3f306a849ee" have entirely different histories.

View file

@ -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':'')"
}]
},
],