[ActivityPub] Re-implement Delete Actor

This commit is contained in:
2021-02-21 14:59:36 +00:00
parent 4f0ddc85d3
commit b1e6b00545
3 changed files with 26 additions and 13 deletions

View File

@@ -934,8 +934,9 @@ class ActivityPubPlugin extends Plugin
*/
public function onEndDeleteUser(Action $action, User $user): void
{
$postman = new Activitypub_postman($user->getProfile());
$postman->delete_profile();
$deleted_profile = $user->getProfile();
$postman = new Activitypub_postman($deleted_profile);
$postman->delete_profile($deleted_profile);
}
/**