mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +00:00
Update StatusService, fix logic check
This commit is contained in:
parent
5ab7f9958c
commit
61d235b797
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class StatusService
|
||||||
}
|
}
|
||||||
return $res;
|
return $res;
|
||||||
});
|
});
|
||||||
if($res) {
|
if($res && isset($res['_pid'])) {
|
||||||
$res['account'] = $mastodonMode === true ? AccountService::getMastodon($res['_pid'], true) : AccountService::get($res['_pid'], true);
|
$res['account'] = $mastodonMode === true ? AccountService::getMastodon($res['_pid'], true) : AccountService::get($res['_pid'], true);
|
||||||
unset($res['_pid']);
|
unset($res['_pid']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue