Don't use other server URIs in our IDs (Fixes #323)

This commit is contained in:
Andrew Godwin 2023-11-12 10:20:45 -07:00
parent c3bf7563b4
commit e6e64f1000

View file

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