mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 14:51:02 +00:00
Fix accept/reject follow request (#683)
This commit is contained in:
parent
4a09379e09
commit
74b3ac551a
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue