Update StatusService, fix logic check

pull/4655/head
Daniel Supernault 2023-09-18 00:17:22 -06:00
rodzic 5ab7f9958c
commit 61d235b797
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -43,7 +43,7 @@ class StatusService
}
return $res;
});
if($res) {
if($res && isset($res['_pid'])) {
$res['account'] = $mastodonMode === true ? AccountService::getMastodon($res['_pid'], true) : AccountService::get($res['_pid'], true);
unset($res['_pid']);
}