Compare commits

...

2 Commits

Author SHA1 Message Date
Eric Bailey 3113a9184b Add deprecation notice 2025-12-08 19:16:19 -06:00
Eric Bailey 23ae72b5e0 Read from mergedGeolocation when setting mod authorities 2025-12-08 19:14:27 -06:00
2 changed files with 3 additions and 1 deletions
@@ -70,7 +70,7 @@ export function isNonConfigurableModerationAuthority(did: string) {
}
export function configureAdditionalModerationAuthorities() {
const geolocation = device.get(['geolocation'])
const geolocation = device.get(['mergedGeolocation'])
// default to all
let additionalLabelers: string[] = MODERATION_AUTHORITIES_DIDS
+2
View File
@@ -13,6 +13,8 @@ export type Device = {
* Geolocation config, fetched from the IP service. This previously did
* double duty as the "status" for geolocation state, but that has since
* moved here to the client.
*
* @deprecated use `mergedGeolocation` instead
*/
geolocation?: {
countryCode: string | undefined