Fix Live Now not showing for non-streamer (#9773)

* Fix Live Now not showing for non-streamer

* Rename for clarity

* Logged out users too
This commit is contained in:
Eric Bailey
2026-01-27 12:16:54 -06:00
committed by GitHub
parent 2953b3a094
commit fd6b8fcbf1
3 changed files with 20 additions and 6 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ import {msg} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useQueryClient} from '@tanstack/react-query'
import {isStatusStillActive, validateStatus} from '#/lib/actor-status'
import {isStatusStillActive, isStatusValidForViewers} from '#/lib/actor-status'
import {DISCOVER_FEED_URI, KNOWN_SHUTDOWN_FEEDS} from '#/lib/constants'
import {useInitialNumToRender} from '#/lib/hooks/useInitialNumToRender'
import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
@@ -948,7 +948,7 @@ let PostFeed = ({
const actor = post.author
if (
actor.status &&
validateStatus(actor.status, liveNowConfig) &&
isStatusValidForViewers(actor.status, liveNowConfig) &&
isStatusStillActive(actor.status.expiresAt)
) {
if (!seenActorWithStatusRef.current.has(actor.did)) {