]> git.localhorst.tv Git - alttp.git/blobdiff - app/Http/Controllers/ChannelController.php
log who sent manual random chats
[alttp.git] / app / Http / Controllers / ChannelController.php
index 15213b412f675481ca86d854a4ecbf1579f0dfc6..f9cf0d27f50aa3e020fb413aa5428aad2fc8a3e8 100644 (file)
@@ -71,7 +71,7 @@ class ChannelController extends Controller {
        public function chatBotLog(Request $request, Channel $channel) {
                $this->authorize('editRestream', $channel);
                $log = $channel->chat_bot_logs()
-                       ->with('origin')
+                       ->with(['origin', 'user'])
                        ->orderBy('created_at', 'DESC')
                        ->limit(150)
                        ->get();