aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/blurNsfw.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/blurNsfw.ts')
-rw-r--r--src/plugins/blurNsfw.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/blurNsfw.ts b/src/plugins/blurNsfw.ts
index 5521897..b87fba3 100644
--- a/src/plugins/blurNsfw.ts
+++ b/src/plugins/blurNsfw.ts
@@ -43,7 +43,7 @@ export default definePlugin({
patches: [
{
- find: "().embedWrapper,embed",
+ find: ".embedWrapper,embed",
replacement: [{
match: /(\.renderEmbed=.+?(.)=.\.props)(.+?\(\)\.embedWrapper)/g,
replace: "$1,vcProps=$2$3+(vcProps.channel.nsfw?' vc-nsfw-img':'')"