Implement chat support functionality: update .env.example for Reverb integration, enhance ChatController with support conversation methods, and modify Conversation model for improved chat handling. Add middleware for chat operator checks and update broadcasting configuration for Reverb.
This commit is contained in:
17
config/chat.php
Normal file
17
config/chat.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Support user
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Storefront chat always opens a 1:1 conversation with this user. Nova
|
||||
| staff (admin / manager / direktor) operate this inbox on their behalf.
|
||||
|
|
||||
*/
|
||||
|
||||
'support_user_id' => (int) env('CHAT_SUPPORT_USER_ID', 0),
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user