Update status view, fix unlisted/private scope bug

pull/4931/head
Daniel Supernault 2 years ago
parent df5e61266c
commit 0f3ca19461
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -4,7 +4,7 @@
])
@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;
$captionPreview = false;
$domain = $displayName ? '@' . parse_url($s['account']['url'], PHP_URL_HOST) : '';

Loading…
Cancel
Save