fix(IgnoreActivities): id -> exePath (#164)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
13882b5732
commit
9548978d80
@ -157,8 +157,8 @@ export default definePlugin({
|
|||||||
if (exePath) return !ignoredActivitiesCache.includes(exePath);
|
if (exePath) return !ignoredActivitiesCache.includes(exePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/** Registered Games tab games have an "id" prop */
|
/** Registered Games tab games have an "exePath" prop */
|
||||||
else if ("id" in props) {
|
else if ("exePath" in props) {
|
||||||
if (props.id !== undefined) return !ignoredActivitiesCache.includes(props.id);
|
if (props.id !== undefined) return !ignoredActivitiesCache.includes(props.id);
|
||||||
else return !ignoredActivitiesCache.includes(props.exePath);
|
else return !ignoredActivitiesCache.includes(props.exePath);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user