chore: commit remaining workspace changes

This commit is contained in:
2026-05-08 21:51:29 +02:00
parent 8d108b8a76
commit ff96ef796e
97 changed files with 18020 additions and 2196 deletions

View File

@@ -98,7 +98,7 @@ class ForumController extends Controller
$thread->loadMissing([
'category:id,name,slug',
'user:id,name',
'user:id,name,username',
'user.profile:user_id,avatar_hash',
]);
@@ -116,7 +116,7 @@ class ForumController extends Controller
$opPost = ForumPost::query()
->where('thread_id', $thread->id)
->with([
'user:id,name',
'user:id,name,username',
'user.profile:user_id,avatar_hash',
'attachments:id,post_id,file_path,file_size,mime_type,width,height',
])
@@ -128,7 +128,7 @@ class ForumController extends Controller
->where('thread_id', $thread->id)
->when($opPost, fn ($query) => $query->where('id', '!=', $opPost->id))
->with([
'user:id,name',
'user:id,name,username',
'user.profile:user_id,avatar_hash',
'attachments:id,post_id,file_path,file_size,mime_type,width,height',
])
@@ -148,7 +148,7 @@ class ForumController extends Controller
if ($quotePostId > 0) {
$quotedPost = ForumPost::query()
->where('thread_id', $thread->id)
->with('user:id,name')
->with('user:id,name,username')
->find($quotePostId);
}