restore missing rebase fixes

This commit is contained in:
Samuel Newman
2026-08-10 20:14:44 +03:00
parent 854fa1f837
commit d191224474
2 changed files with 7 additions and 4 deletions
@@ -644,7 +644,7 @@ function Inner(
</View>
{videoTimestampSeconds !== undefined &&
state.selectedLabeler?.creator.did === BSKY_LABELER_DID && (
state.selectedLabeler?.creator.did === api.moderation.did && (
<IncludeVideoTimestampToggle
seconds={videoTimestampSeconds}
selected={state.includeVideoTimestamp}
+6 -3
View File
@@ -1,4 +1,5 @@
import {useEffect, useMemo, useState} from 'react'
import {type AtUriString} from '@atproto/lex'
import {type QueryClient} from '@tanstack/react-query'
import {EventEmitter} from 'eventemitter3'
@@ -279,7 +280,7 @@ export function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
...(profile.viewer || {}),
following:
'followingUri' in shadow
? shadow.followingUri
? (shadow.followingUri as AtUriString)
: profile.viewer?.following,
muted: 'muted' in shadow ? shadow.muted : profile.viewer?.muted,
mutedOnlyReposts:
@@ -287,12 +288,14 @@ export function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
? shadow.mutedOnlyReposts
: profile.viewer?.mutedOnlyReposts,
blocking:
'blockingUri' in shadow ? shadow.blockingUri : profile.viewer?.blocking,
'blockingUri' in shadow
? (shadow.blockingUri as AtUriString)
: profile.viewer?.blocking,
activitySubscription:
'activitySubscription' in shadow
? shadow.activitySubscription
: profile.viewer?.activitySubscription,
} satisfies AppBskyActorDefs.ViewerState,
} satisfies app.bsky.actor.defs.ViewerState,
verification:
'verification' in shadow ? shadow.verification : profile.verification,
status: