fix: pronoundb profile popout (#1860)

This commit is contained in:
megumin 2023-10-25 16:00:24 +01:00 committed by V
parent e69236c5f8
commit cd06980016

View file

@ -57,8 +57,8 @@ export default definePlugin({
find: ".userTagNoNickname", find: ".userTagNoNickname",
replacement: [ replacement: [
{ {
match: /,(\i)=(\i)\.pronouns/, match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i;/,
replace: ",[$1,vcPronounSource]=$self.useProfilePronouns($2.user.id)" replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);"
}, },
PRONOUN_TOOLTIP_PATCH PRONOUN_TOOLTIP_PATCH
] ]