Follow bsky.app
This commit is contained in:
@@ -80,8 +80,10 @@ export const HITSLOP_30 = createHitslop(30)
|
|||||||
export const BACK_HITSLOP = HITSLOP_30
|
export const BACK_HITSLOP = HITSLOP_30
|
||||||
export const MAX_POST_LINES = 25
|
export const MAX_POST_LINES = 25
|
||||||
|
|
||||||
|
export const BSKY_APP_ACCOUNT_DID = 'did:plc:z72i7hdynmk6r22z27h6tvur'
|
||||||
|
|
||||||
export const BSKY_FEED_OWNER_DIDS = [
|
export const BSKY_FEED_OWNER_DIDS = [
|
||||||
'did:plc:z72i7hdynmk6r22z27h6tvur',
|
BSKY_APP_ACCOUNT_DID,
|
||||||
'did:plc:vpkhqolt662uhesyj6nxm7ys',
|
'did:plc:vpkhqolt662uhesyj6nxm7ys',
|
||||||
'did:plc:q6gjnaw2blty4crticxkmujt',
|
'did:plc:q6gjnaw2blty4crticxkmujt',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {msg, Trans} from '@lingui/macro'
|
|||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
|
|
||||||
import {useAnalytics} from '#/lib/analytics/analytics'
|
import {useAnalytics} from '#/lib/analytics/analytics'
|
||||||
|
import {BSKY_APP_ACCOUNT_DID} from '#/lib/constants'
|
||||||
import {logEvent} from '#/lib/statsig/statsig'
|
import {logEvent} from '#/lib/statsig/statsig'
|
||||||
import {logger} from '#/logger'
|
import {logger} from '#/logger'
|
||||||
import {useSetSaveFeedsMutation} from '#/state/queries/preferences'
|
import {useSetSaveFeedsMutation} from '#/state/queries/preferences'
|
||||||
@@ -55,7 +56,9 @@ export function StepFinished() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
bulkWriteFollows(suggestedAccountsStepResults.accountDids),
|
bulkWriteFollows(
|
||||||
|
suggestedAccountsStepResults.accountDids.concat(BSKY_APP_ACCOUNT_DID),
|
||||||
|
),
|
||||||
// these must be serial
|
// these must be serial
|
||||||
(async () => {
|
(async () => {
|
||||||
await getAgent().setInterestsPref({tags: selectedInterests})
|
await getAgent().setInterestsPref({tags: selectedInterests})
|
||||||
|
|||||||
Reference in New Issue
Block a user