mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #4655 from pixelfed/staging
Update StatusService, fix logic check
This commit is contained in:
commit
19015f18b0
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue