mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
Canary Fixes
This commit is contained in:
parent
f4193076fa
commit
9d2da2a87e
3 changed files with 4 additions and 3 deletions
|
@ -44,7 +44,7 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
// Show all activities in the user popout/sidebar
|
||||
find: '"UserProfilePopoutBody"',
|
||||
find: "hasAvatarForGuild(null",
|
||||
replacement: {
|
||||
match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/,
|
||||
replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })"
|
||||
|
|
|
@ -83,7 +83,7 @@ export default definePlugin({
|
|||
]
|
||||
},
|
||||
{
|
||||
find: "UserProfileModalHeaderActionButtons",
|
||||
find: "#{intl::OUTGOING_FRIEND_REQUEST}",
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/,
|
||||
|
|
|
@ -19,7 +19,8 @@ export default definePlugin({
|
|||
replacement: {
|
||||
match: /header,children:\[.*?\{\}\)/,
|
||||
replace: "$&,$self.FriendCodesPanel"
|
||||
}
|
||||
},
|
||||
noWarn: true,
|
||||
}
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue