restore missing rebase fixes
This commit is contained in:
@@ -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}
|
||||
|
||||
Vendored
+6
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user