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

View file

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