mirror of
https://github.com/Vendicated/Vencord
synced 2024-08-26 03:37:47 -04:00
Fix ShowConnections & FriendsSince patches
This commit is contained in:
parent
2b565fed25
commit
7ccd073506
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ export default definePlugin({
|
|||
{
|
||||
find: ".UserPopoutUpsellSource.PROFILE_PANEL,",
|
||||
replacement: {
|
||||
match: /\i.default,\{userId:(\i)}\)/,
|
||||
match: /\i.default,\{userId:([^,]+?)}\)/,
|
||||
replace: "$&,$self.friendsSince({ userId: $1 })"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -182,7 +182,7 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
{
|
||||
find: "\"Profile Panel: user cannot be undefined\"",
|
||||
find: ".UserPopoutUpsellSource.PROFILE_PANEL,",
|
||||
replacement: {
|
||||
// createElement(Divider, {}), createElement(NoteComponent)
|
||||
match: /\(0,\i\.jsx\)\(\i\.\i,\{\}\).{0,100}setNote:(?=.+?channelId:(\i).id)/,
|
||||
|
|
Loading…
Reference in a new issue