diff --git a/src/lib/moderation.ts b/src/lib/moderation.ts
index 6614a2edb8..64efe62f64 100644
--- a/src/lib/moderation.ts
+++ b/src/lib/moderation.ts
@@ -54,16 +54,16 @@ export function lookupLabelValueDefinition(
return def
}
-export function isModAuthority(
+export function isAppLabeler(
labeler:
| string
| AppBskyLabelerDefs.LabelerView
| AppBskyLabelerDefs.LabelerViewDetailed,
): boolean {
if (typeof labeler === 'string') {
- return BskyAgent.modAuthoritiesHeader.includes(labeler)
+ return BskyAgent.appLabelers.includes(labeler)
}
- return BskyAgent.modAuthoritiesHeader.includes(labeler.creator.did)
+ return BskyAgent.appLabelers.includes(labeler.creator.did)
}
export function isLabelerSubscribed(
@@ -74,7 +74,7 @@ export function isLabelerSubscribed(
modOpts: ModerationOpts,
) {
labeler = typeof labeler === 'string' ? labeler : labeler.creator.did
- if (isModAuthority(labeler)) {
+ if (isAppLabeler(labeler)) {
return true
}
return modOpts.prefs.labelers.find(l => l.did === labeler)
diff --git a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx
index 26f8433d26..418db7b458 100644
--- a/src/screens/Profile/Header/ProfileHeaderLabeler.tsx
+++ b/src/screens/Profile/Header/ProfileHeaderLabeler.tsx
@@ -22,7 +22,7 @@ import {useLikeMutation, useUnlikeMutation} from '#/state/queries/like'
import {logger} from '#/logger'
import {Haptics} from '#/lib/haptics'
import {pluralize} from '#/lib/strings/helpers'
-import {isModAuthority} from '#/lib/moderation'
+import {isAppLabeler} from '#/lib/moderation'
import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
@@ -174,7 +174,7 @@ let ProfileHeaderLabeler = ({
Edit Profile
- ) : !isModAuthority(profile.did) ? (
+ ) : !isAppLabeler(profile.did) ? (
<>
) : undefined}
- {!isModAuthority(profile.did) && (
+ {!isAppLabeler(profile.did) && (