]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Object/Api/Mastodon/Account.php
authorMichael Vogel <icarus@dabo.de>
Thu, 17 Jun 2021 17:14:35 +0000 (19:14 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Jun 2021 17:14:35 +0000 (19:14 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Object/Api/Mastodon/Account.php

index 04601da218a29c7484093a6dc16022d91cf90888..58a7c5ffe64d6d7fd0eb4127822efb5abe6dcddb 100644 (file)
@@ -115,7 +115,7 @@ class Account extends BaseDataTransferObject
                $this->url             = $publicContact['url'];
                $this->avatar          = ($userContact['photo'] ?? $publicContact['photo']) ?: Proxy::proxifyUrl($userContact['avatar'] ?? $publicContact['avatar']);
                $this->avatar_static   = $this->avatar;
-               $this->header          = Proxy::proxifyUrl(($userContact['header'] ?? $publicContact['header']) ?? '');
+               $this->header          = Proxy::proxifyUrl($userContact['header'] ?? $publicContact['header'] ?? '');
                $this->header_static   = $this->header;
                $this->followers_count = $apcontact['followers_count'] ?? 0;
                $this->following_count = $apcontact['following_count'] ?? 0;