fix(IgnoreActivities): id -> exePath (#164)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
13882b5732
commit
9548978d80
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue