fix patches

This commit is contained in:
thororen1234 2026-05-29 17:08:55 -04:00
parent 659fee893a
commit 2085da22ef
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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]),",

View file

@ -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])"