mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-11 11:43:45 +00:00
fix: keyIdを修正
This commit is contained in:
@@ -45,7 +45,7 @@ class ActivityPubUserService(
|
|||||||
val person = webFingerService.fetchUserModel(actor) ?: throw IllegalArgumentException("actor is not found")
|
val person = webFingerService.fetchUserModel(actor) ?: throw IllegalArgumentException("actor is not found")
|
||||||
val inboxUrl = person.inbox ?: throw IllegalArgumentException("inbox is not found")
|
val inboxUrl = person.inbox ?: throw IllegalArgumentException("inbox is not found")
|
||||||
httpClient.postAp(
|
httpClient.postAp(
|
||||||
inboxUrl, follow.`object`!!, Accept(
|
inboxUrl, "${follow.`object`!!}/pubkey", Accept(
|
||||||
name = "Follow",
|
name = "Follow",
|
||||||
`object` = follow,
|
`object` = follow,
|
||||||
actor = follow.`object`.orEmpty()
|
actor = follow.`object`.orEmpty()
|
||||||
|
|||||||
Reference in New Issue
Block a user