BetterActivities: Fix Patch

This commit is contained in:
thororen1234 2025-12-19 20:42:04 -05:00
parent 31fdc57454
commit 64e4d7763e
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ export default definePlugin({
// Show all activities in the user popout/sidebar
find: '"UserProfilePopoutBody"',
replacement: {
match: /((\i)=.{0,10}(\i)\.id\).*?,)\i\?.{0,250}onClose:\i\}\)/,
match: /((\i)=.{0,10}(\i)\.id\).*?,onInteraction:\i\}\),).{0,250}onClose:\i\}\)/,
replace: "$1$self.showAllActivitiesComponent({ activity: $2, user: $3 })"
},
predicate: () => settings.store.userPopout