Add associatedRecord to external embeds, if available (#10445)

This commit is contained in:
Eric Bailey
2026-05-07 19:08:29 -05:00
committed by GitHub
parent 9a2cabf64c
commit fa8c2224b7
6 changed files with 24 additions and 11 deletions
+5 -5
View File
@@ -2,7 +2,7 @@ import {type Insets, Platform} from 'react-native'
import {type AppBskyActorDefs, BSKY_LABELER_DID} from '@atproto/api'
import {type ProxyHeaderValue} from '#/state/session/agent'
import {BLUESKY_PROXY_DID, CHAT_PROXY_DID} from '#/env'
import {BLUESKY_PROXY_DID, CHAT_PROXY_DID, IS_DEV} from '#/env'
export const LOCAL_DEV_SERVICE =
Platform.OS === 'android' ? 'http://10.0.2.2:2583' : 'http://localhost:2583'
@@ -107,12 +107,12 @@ export const STAGING_LINK_META_PROXY =
export const PROD_LINK_META_PROXY = 'https://cardyb.bsky.app/v1/extract?url='
export function LINK_META_PROXY(serviceUrl: string) {
if (IS_PROD_SERVICE(serviceUrl)) {
return PROD_LINK_META_PROXY
export function LINK_META_PROXY(_serviceUrl: string) {
if (IS_DEV) {
return STAGING_LINK_META_PROXY
}
return STAGING_LINK_META_PROXY
return PROD_LINK_META_PROXY
}
export const STATUS_PAGE_URL = 'https://status.bsky.app/'