From de3335bcdaa3007d645701dd046e8e096f1e7659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 23 Dec 2023 22:25:22 +0100 Subject: [PATCH] application-user: set manuallyApprovesFollowers to true --- includes/model/class-application-user.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/includes/model/class-application-user.php b/includes/model/class-application-user.php index 8fb4ee6..1d1d414 100644 --- a/includes/model/class-application-user.php +++ b/includes/model/class-application-user.php @@ -29,6 +29,13 @@ class Application_User extends Blog_User { */ protected $discoverable = false; + /** + * The instance actor by default must manually approve all followers. + * + * @var boolean + */ + protected $manually_approves_followers = true; + /** * Get the User-Url. * @@ -52,7 +59,7 @@ class Application_User extends Blog_User { } public function get_preferred_username() { - return $this::get_name(); + return $this->get_name(); } public function get_followers() {