]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong default value for contact_account in Mastodon\Instance
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 28 Jan 2025 03:01:40 +0000 (22:01 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 28 Jan 2025 03:01:40 +0000 (22:01 -0500)
src/Object/Api/Mastodon/Instance.php

index 8b1806f1cbc76bb8d037ee470aa662cf1912b2f4..d5e8299304cc3fa18a66baeefdc6a1818c517682 100644 (file)
@@ -61,7 +61,7 @@ class Instance extends BaseDataTransferObject
                $this->approval_required = ($register_policy === Register::APPROVE);
                $this->invites_enabled   = false;
                $this->configuration     = $configuration;
-               $this->contact_account   = $contact_account ?? [];
+               $this->contact_account   = $contact_account;
                $this->rules             = $rules;
        }
 }