mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 01:38:49 -05:00
(Update)[Chat 2.0] User group colors and effects
Also links to users profile.
This commit is contained in:
@@ -19,7 +19,7 @@ class ChatController extends Controller
|
||||
/* ROOMS */
|
||||
public function rooms()
|
||||
{
|
||||
$rooms = Chatroom::with(['messages.user'])->get();
|
||||
$rooms = Chatroom::with(['messages.user.group'])->get();
|
||||
|
||||
return ChatRoomResource::collection($rooms);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user