Skip to content

Commit

Permalink
Decor: Fix on current user area
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed Aug 14, 2024
1 parent 4301ed8 commit d388aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/decor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default definePlugin({
replacement: [
// Use Decor avatar decoration hook
{
match: /(?<=\i\)\({avatarDecoration:)(\i).avatarDecoration(?=,)/,
match: /(?<=\i\)\({avatarDecoration:)(\i)(?=,)(?<=currentUser:(\i).+?)/,
replace: "$self.useUserDecorAvatarDecoration($1)??$&"
}
]
Expand Down

1 comment on commit d388aa4

@xeno-cyst
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

average vencord update (1 line of code changed)

Please sign in to comment.