mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
auth check
This commit is contained in:
@@ -39,9 +39,11 @@ class HighscoreChat extends Component
|
||||
|
||||
public function chatMessageSent()
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$this->messages = cache()->get('highscore_chat_messages', []);
|
||||
$this->dispatchBrowserEvent('chat-updated');
|
||||
}
|
||||
}
|
||||
|
||||
public function sendMessage()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user