restore missing rebase fixes
This commit is contained in:
@@ -644,7 +644,7 @@ function Inner(
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
{videoTimestampSeconds !== undefined &&
|
{videoTimestampSeconds !== undefined &&
|
||||||
state.selectedLabeler?.creator.did === BSKY_LABELER_DID && (
|
state.selectedLabeler?.creator.did === api.moderation.did && (
|
||||||
<IncludeVideoTimestampToggle
|
<IncludeVideoTimestampToggle
|
||||||
seconds={videoTimestampSeconds}
|
seconds={videoTimestampSeconds}
|
||||||
selected={state.includeVideoTimestamp}
|
selected={state.includeVideoTimestamp}
|
||||||
|
|||||||
Vendored
+6
-3
@@ -1,4 +1,5 @@
|
|||||||
import {useEffect, useMemo, useState} from 'react'
|
import {useEffect, useMemo, useState} from 'react'
|
||||||
|
import {type AtUriString} from '@atproto/lex'
|
||||||
import {type QueryClient} from '@tanstack/react-query'
|
import {type QueryClient} from '@tanstack/react-query'
|
||||||
import {EventEmitter} from 'eventemitter3'
|
import {EventEmitter} from 'eventemitter3'
|
||||||
|
|
||||||
@@ -279,7 +280,7 @@ export function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
|
|||||||
...(profile.viewer || {}),
|
...(profile.viewer || {}),
|
||||||
following:
|
following:
|
||||||
'followingUri' in shadow
|
'followingUri' in shadow
|
||||||
? shadow.followingUri
|
? (shadow.followingUri as AtUriString)
|
||||||
: profile.viewer?.following,
|
: profile.viewer?.following,
|
||||||
muted: 'muted' in shadow ? shadow.muted : profile.viewer?.muted,
|
muted: 'muted' in shadow ? shadow.muted : profile.viewer?.muted,
|
||||||
mutedOnlyReposts:
|
mutedOnlyReposts:
|
||||||
@@ -287,12 +288,14 @@ export function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
|
|||||||
? shadow.mutedOnlyReposts
|
? shadow.mutedOnlyReposts
|
||||||
: profile.viewer?.mutedOnlyReposts,
|
: profile.viewer?.mutedOnlyReposts,
|
||||||
blocking:
|
blocking:
|
||||||
'blockingUri' in shadow ? shadow.blockingUri : profile.viewer?.blocking,
|
'blockingUri' in shadow
|
||||||
|
? (shadow.blockingUri as AtUriString)
|
||||||
|
: profile.viewer?.blocking,
|
||||||
activitySubscription:
|
activitySubscription:
|
||||||
'activitySubscription' in shadow
|
'activitySubscription' in shadow
|
||||||
? shadow.activitySubscription
|
? shadow.activitySubscription
|
||||||
: profile.viewer?.activitySubscription,
|
: profile.viewer?.activitySubscription,
|
||||||
} satisfies AppBskyActorDefs.ViewerState,
|
} satisfies app.bsky.actor.defs.ViewerState,
|
||||||
verification:
|
verification:
|
||||||
'verification' in shadow ? shadow.verification : profile.verification,
|
'verification' in shadow ? shadow.verification : profile.verification,
|
||||||
status:
|
status:
|
||||||
|
|||||||
Reference in New Issue
Block a user