Analogous changes on Undo Follow
This commit is contained in:
parent
b9a74d6ba4
commit
933a228072
@ -147,7 +147,7 @@ class Activitypub_postman
|
||||
$res = $this->send(json_encode($data), $this->to[0]->get_inbox());
|
||||
$res_body = json_decode($res->getBody()->getContents());
|
||||
|
||||
if ($res->getStatusCode() == 200 || $res->getStatusCode() == 409) {
|
||||
if ($res->getStatusCode() == 200 || $res->getStatusCode() == 202 || $res->getStatusCode() == 409) {
|
||||
$pending_list = new Activitypub_pending_follow_requests($this->actor->getID(), $this->to[0]->getID());
|
||||
$pending_list->remove();
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user