From e6e64f1000c8cdb98bf81aec0b09aa165b4f74a0 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 12 Nov 2023 10:20:45 -0700 Subject: [PATCH] Don't use other server URIs in our IDs (Fixes #323) --- 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 b3118b2..f3a41bf 100644 --- a/users/models/follow.py +++ b/users/models/follow.py @@ -275,7 +275,7 @@ class Follow(StatorModel): """ return { "type": "Accept", - "id": f"{self.target.actor_uri}#accept/{self.id}", + "id": self.uri + "#accept", "actor": self.target.actor_uri, "object": self.to_ap(), }