fix patches
This commit is contained in:
parent
659fee893a
commit
2085da22ef
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ export default definePlugin({
|
|||
patches: [
|
||||
// message and member list popouts
|
||||
{
|
||||
find: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}",
|
||||
find: ".USER_PROFILE_POPOUT])",
|
||||
replacement: {
|
||||
match: /user:\i,widgets:.{0,100}?\}\),/,
|
||||
replace: "$&Vencord.Api.ProfileCollections.renderProfileCollections(arguments[0]),",
|
||||
|
|
|
|||
|
|
@ -168,7 +168,7 @@ export default definePlugin({
|
|||
patches: [
|
||||
{
|
||||
// Same find as ReviewDB
|
||||
find: "#{intl::USER_PROFILE_FRIEND_REQUEST_TOAST}",
|
||||
find: ".USER_PROFILE_POPOUT])",
|
||||
replacement: {
|
||||
match: /userId:\i\.id,guild:\i\}\)(?=])/,
|
||||
replace: "$&,$self.profilePopoutComponent(arguments[0])"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue