Revert "Canary Fixes"

This reverts commit 9d2da2a87e.
This commit is contained in:
thororen1234 2025-04-14 23:21:35 -04:00
parent 9d2da2a87e
commit 864457d983
No known key found for this signature in database
3 changed files with 3 additions and 4 deletions

View file

@ -44,7 +44,7 @@ export default definePlugin({
}, },
{ {
// Show all activities in the user popout/sidebar // Show all activities in the user popout/sidebar
find: "hasAvatarForGuild(null", find: '"UserProfilePopoutBody"',
replacement: { replacement: {
match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/, match: /(?<=(\i)\.id\)\}\)\),(\i).*?)\(0,.{0,100}\i\.id,onClose:\i\}\)/,
replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })" replace: "$self.showAllActivitiesComponent({ activity: $2, user: $1 })"

View file

@ -83,7 +83,7 @@ export default definePlugin({
] ]
}, },
{ {
find: "#{intl::OUTGOING_FRIEND_REQUEST}", find: "UserProfileModalHeaderActionButtons",
replacement: [ replacement: [
{ {
match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/, match: /(?<=return \i)\|\|(\i)===.*?.FRIEND/,

View file

@ -19,8 +19,7 @@ export default definePlugin({
replacement: { replacement: {
match: /header,children:\[.*?\{\}\)/, match: /header,children:\[.*?\{\}\)/,
replace: "$&,$self.FriendCodesPanel" replace: "$&,$self.FriendCodesPanel"
}, }
noWarn: true,
} }
], ],