芝麻web文件管理V1.00
编辑当前文件:/home/sditechnicalteam/public_html/app/Observers/NewChatObserver.php
status) { Config::set('queue.default', 'sync'); // Set intentionally for instant delivery of messages event(new NewChatEvent($userChat)); event(new NewMessage($userChat)); } } public function creating(UserChat $userChat) { if (company()) { $userChat->company_id = company()->id; } } public function deleting(UserChat $userChat) { $notifyData = ['App\Notifications\NewChat']; \App\Models\Notification::deleteNotification($notifyData, $userChat->id); } }