This commit is contained in:
usbharu 2024-05-14 15:11:02 +09:00
parent 822c57c02b
commit 19458e9adc
1 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,11 @@ class UserAPControllerImpl(private val apUserService: APUserService) : UserAPCon
} catch (_: UserNotFoundException) {
return ResponseEntity.notFound().build()
}
person.context += listOf(StringOrObject("https://www.w3.org/ns/activitystreams"))
person.context += listOf(
StringOrObject("https://www.w3.org/ns/activitystreams"),
StringOrObject("https://w3id.org/security/v1"),
StringOrObject(mapOf("manuallyApprovesFollowers" to "as:manuallyApprovesFollowers"))
)
return ResponseEntity(person, HttpStatus.OK)
}
}