Merge pull request #4655 from pixelfed/staging

Update StatusService, fix logic check
pull/4679/head
daniel 2 years ago committed by GitHub
commit 19015f18b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save