From faa181807cf8525084a15ac90a18d1f253835ef9 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Fri, 18 Aug 2023 15:12:53 +0900 Subject: [PATCH] Fix Accept object id for follow activity for Misskey and Firefish (#632) --- users/models/follow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models/follow.py b/users/models/follow.py index d63bcea..139ba20 100644 --- a/users/models/follow.py +++ b/users/models/follow.py @@ -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(), }