diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php index eec19f0c..8bce345d 100644 --- a/lib/Controller/LocalController.php +++ b/lib/Controller/LocalController.php @@ -125,7 +125,6 @@ class LocalController extends Controller { * @NoAdminRequired */ public function postCreate(string $content = '', $to = null, string $type = null, ?string $replyTo = null, $attachments = null, ?string $hashtags = null): DataResponse { - $content = $content ?? ''; $to = is_string($to) ? [$to] : $to; $to = $to ?? []; diff --git a/lib/Listeners/ProfileSectionListener.php b/lib/Listeners/ProfileSectionListener.php index 41d0fdf6..fc12d592 100644 --- a/lib/Listeners/ProfileSectionListener.php +++ b/lib/Listeners/ProfileSectionListener.php @@ -1,4 +1,5 @@