We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c971c4 commit 97a5cb9Copy full SHA for 97a5cb9
src/talk/renderer/UserStatus/composables/useIsAway.ts
@@ -19,7 +19,6 @@ export const useIsAway = createSharedComposable((threshold = 60_000) => {
19
20
return computed(() => {
21
return screenState.value === 'locked' // System Locked - the user is away immediately
22
- || userState.value !== 'active'
23
- || isAppIdle.value // Fallback in case IdleDetector is not available (yet)
+ || (userState.value !== 'active' && isAppIdle.value) // Check both to cover unavailable IdleDetector
24
})
25
0 commit comments