fix: ShowConnections patch; chore: Remove dead code

This commit is contained in:
Nuckyz 2024-06-12 16:39:04 -03:00
parent 40c5ade82d
commit 0561bd1951
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
4 changed files with 6 additions and 12 deletions

View file

@ -210,9 +210,9 @@ export default definePlugin({
}
},
{
find: "autoFocusNote:!0})",
find: ".UserProfileTypes.BITE_SIZE,onOpenProfile",
replacement: {
match: /{autoFocusNote:!1}\)}\)(?<=user:(\i),bio:null==(\i)\?.+?)/,
match: /currentUser:\i,guild:\i,onOpenProfile:.+?}\)(?=])(?<=user:(\i),bio:null==(\i)\?.+?)/,
replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2, simplified: true })"
}
}