Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Ensure all configured appLabelers are applied for logged out users (#5784)

* Ensure all configured appLabelers are applied for logged out users

* Formatting

authored by

Eric Bailey and committed by
GitHub
3d9663db 21542c4a

+5 -7
+5 -7
src/state/preferences/moderation-opts.tsx
··· 1 1 import React, {createContext, useContext, useMemo} from 'react' 2 - import {BSKY_LABELER_DID, ModerationOpts} from '@atproto/api' 2 + import {BskyAgent, ModerationOpts} from '@atproto/api' 3 3 4 4 import {useHiddenPosts, useLabelDefinitions} from '#/state/preferences' 5 5 import {DEFAULT_LOGGED_OUT_LABEL_PREFERENCES} from '#/state/queries/preferences/moderation' ··· 41 41 ...moderationPrefs, 42 42 labelers: moderationPrefs.labelers.length 43 43 ? moderationPrefs.labelers 44 - : [ 45 - { 46 - did: BSKY_LABELER_DID, 47 - labels: DEFAULT_LOGGED_OUT_LABEL_PREFERENCES, 48 - }, 49 - ], 44 + : BskyAgent.appLabelers.map(did => ({ 45 + did, 46 + labels: DEFAULT_LOGGED_OUT_LABEL_PREFERENCES, 47 + })), 50 48 hiddenPosts: hiddenPosts || [], 51 49 }, 52 50 labelDefs,