From 62afad3e654b2dd33ff102cc3b4a882aabd7a4ff Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Sat, 22 Jun 2024 20:22:43 -0300 Subject: [PATCH] IgnoredActivities: Fix not ignoring in tracked activities (used in Content Feed) --- src/plugins/ignoreActivities/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/plugins/ignoreActivities/index.tsx b/src/plugins/ignoreActivities/index.tsx index 78c1c5cf8..bab69d89b 100644 --- a/src/plugins/ignoreActivities/index.tsx +++ b/src/plugins/ignoreActivities/index.tsx @@ -222,6 +222,13 @@ export default definePlugin({ } ] }, + { + find: '="ActivityTrackingStore",', + replacement: { + match: /getVisibleRunningGames\(\).+?;(?=for)(?<=(\i)=\i\.\i\.getVisibleRunningGames.+?)/, + replace: (m, runningGames) => `${m}${runningGames}=${runningGames}.filter(({id,name})=>$self.isActivityNotIgnored({type:0,application_id:id,name}));` + } + }, { find: ".Messages.SETTINGS_GAMES_TOGGLE_OVERLAY", replacement: {