mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update StoryController
This commit is contained in:
parent
19d140b020
commit
cdaa153003
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@ class StoryController extends StoryComposeController
|
|||
'avatar' => $profile['avatar'],
|
||||
'local' => $profile['local'],
|
||||
'username' => $profile['acct'],
|
||||
'latest' => [
|
||||
'id' => $s->id,
|
||||
'type' => $s->type,
|
||||
'preview_url' => url(Storage::url($s->path))
|
||||
],
|
||||
'url' => $url,
|
||||
'seen' => StoryService::hasSeen($pid, StoryService::latest($s->profile_id)),
|
||||
'sid' => $s->id
|
||||
|
|
Loading…
Reference in a new issue