MentionAvatars: Fix
This commit is contained in:
parent
f663891e1c
commit
87f457a97c
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ export default definePlugin({
|
|||
find: ".USER_MENTION)",
|
||||
replacement: {
|
||||
match: /"@"\.concat\((null!=\i\?\i:\i)\)(?<=\.useName\((\i)\).+?)/,
|
||||
replace: "$self.renderUsername({username:$1,user:$2,showMeYourNameMention:showMeYourNameMention ?? undefined})"
|
||||
replace: "$self.renderUsername({username:$1,user:$2,showMeYourNameMention:typeof showMeYourNameMention!=='undefined'?showMeYourNameMention:undefined})"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue