Update src/Object/Api/Mastodon/Account.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022.09-rc
Michael Vogel 2021-06-17 19:14:35 +02:00 zatwierdzone przez GitHub
rodzic bd016dc680
commit b184df1108
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;