mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
x-trap
This commit is contained in:
@@ -49,7 +49,7 @@ class HighscoreChat extends Component
|
|||||||
$newMessages = collect($this->messages)
|
$newMessages = collect($this->messages)
|
||||||
->push([
|
->push([
|
||||||
'fromId' => auth()->id(),
|
'fromId' => auth()->id(),
|
||||||
'fromName' => str(auth()->user()->name)->initials(),
|
'fromName' => str(auth()->user()->name)->limit(2),
|
||||||
'userImg' => str(auth()->user()->profile_photo_url)->replace('background=EBF4FF', 'background=F7931A'),
|
'userImg' => str(auth()->user()->profile_photo_url)->replace('background=EBF4FF', 'background=F7931A'),
|
||||||
'message' => $this->myNewMessage,
|
'message' => $this->myNewMessage,
|
||||||
'time' => now()->asDateTime(),
|
'time' => now()->asDateTime(),
|
||||||
|
|||||||
Reference in New Issue
Block a user