mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update status view, fix unlisted/private scope bug
This commit is contained in:
parent
df5e61266c
commit
0f3ca19461
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
])
|
])
|
||||||
|
|
||||||
@php
|
@php
|
||||||
$s = \App\Services\StatusService::get($status->id);
|
$s = \App\Services\StatusService::get($status->id, false);
|
||||||
$displayName = $s && $s['account'] ? $s['account']['display_name'] : false;
|
$displayName = $s && $s['account'] ? $s['account']['display_name'] : false;
|
||||||
$captionPreview = false;
|
$captionPreview = false;
|
||||||
$domain = $displayName ? '@' . parse_url($s['account']['url'], PHP_URL_HOST) : '';
|
$domain = $displayName ? '@' . parse_url($s['account']['url'], PHP_URL_HOST) : '';
|
||||||
|
|
Loading…
Reference in a new issue