Fix Accept object id for follow activity for Misskey and Firefish (#632)

This commit is contained in:
TAKAHASHI Shuuji 2023-08-18 15:12:53 +09:00 committed by GitHub
parent 679f0def99
commit faa181807c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class Follow(StatorModel):
""" """
return { return {
"type": "Accept", "type": "Accept",
"id": self.uri + "#accept", "id": f"{self.target.actor_uri}#accept/{self.id}",
"actor": self.target.actor_uri, "actor": self.target.actor_uri,
"object": self.to_ap(), "object": self.to_ap(),
} }