diff --git a/src/plugins/pronoundb/index.ts b/src/plugins/pronoundb/index.ts index bd5b2c5a..6eac8669 100644 --- a/src/plugins/pronoundb/index.ts +++ b/src/plugins/pronoundb/index.ts @@ -57,8 +57,8 @@ export default definePlugin({ find: ".userTagNoNickname", replacement: [ { - match: /,(\i)=(\i)\.pronouns/, - replace: ",[$1,vcPronounSource]=$self.useProfilePronouns($2.user.id)" + match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i;/, + replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);" }, PRONOUN_TOOLTIP_PATCH ]