Skip to content

Commit

Permalink
Add DE labeler (#5675)
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored Oct 17, 2024
1 parent c5e40d6 commit 1c6cee7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/state/session/additional-moderation-authorities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ import {logger} from '#/logger'
import {device} from '#/storage'

export const BR_LABELER = 'did:plc:ekitcvx7uwnauoqy5oest3hm'
export const DE_LABELER = 'did:plc:r55ow3tocux5kafs5dq445fy'
export const ADDITIONAL_LABELERS_MAP: {
[countryCode: string]: string[]
} = {
BR: [BR_LABELER],
DE: [DE_LABELER],
}
export const ALL_ADDITIONAL_LABELERS = Object.values(
ADDITIONAL_LABELERS_MAP,
).flat()
export const NON_CONFIGURABLE_LABELERS = [BR_LABELER]
export const NON_CONFIGURABLE_LABELERS = [BR_LABELER, DE_LABELER]

export function isNonConfigurableModerationAuthority(did: string) {
return NON_CONFIGURABLE_LABELERS.includes(did)
Expand Down

0 comments on commit 1c6cee7

Please sign in to comment.