aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2022-10-27 05:27:52 -0300
committerGitHub <noreply@github.com>2022-10-27 10:27:52 +0200
commit9548978d805836ad45d4f54656306747fccef9ae (patch)
tree568d28150ebc0496d677d378aed5a2f797cd53f4
parent13882b5732ef14f6535c32f4c6840081d677e0f7 (diff)
downloadVencord-9548978d805836ad45d4f54656306747fccef9ae.tar.gz
Vencord-9548978d805836ad45d4f54656306747fccef9ae.tar.bz2
Vencord-9548978d805836ad45d4f54656306747fccef9ae.zip
fix(IgnoreActivities): id -> exePath (#164)
Co-authored-by: Ven <vendicated@riseup.net>
-rw-r--r--src/plugins/ignoreActivities.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ignoreActivities.ts b/src/plugins/ignoreActivities.ts
index dd4650b..a429136 100644
--- a/src/plugins/ignoreActivities.ts
+++ b/src/plugins/ignoreActivities.ts
@@ -157,8 +157,8 @@ export default definePlugin({
if (exePath) return !ignoredActivitiesCache.includes(exePath);
}
}
- /** Registered Games tab games have an "id" prop */
- else if ("id" in props) {
+ /** Registered Games tab games have an "exePath" prop */
+ else if ("exePath" in props) {
if (props.id !== undefined) return !ignoredActivitiesCache.includes(props.id);
else return !ignoredActivitiesCache.includes(props.exePath);
}