Fix accept/reject follow request (#683)
This commit is contained in:
parent
4a09379e09
commit
74b3ac551a
|
@ -282,7 +282,7 @@ class Follow(StatorModel):
|
|||
"""
|
||||
return {
|
||||
"type": "Accept",
|
||||
"id": self.uri + "#accept",
|
||||
"id": f"{self.target.actor_uri}follow/{self.id}/#accept",
|
||||
"actor": self.target.actor_uri,
|
||||
"object": self.to_ap(),
|
||||
}
|
||||
|
@ -293,7 +293,7 @@ class Follow(StatorModel):
|
|||
"""
|
||||
return {
|
||||
"type": "Reject",
|
||||
"id": self.uri + "#reject",
|
||||
"id": f"{self.target.actor_uri}follow/{self.id}/#reject",
|
||||
"actor": self.target.actor_uri,
|
||||
"object": self.to_ap(),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue