add reverb container, unread attribute in notification pivot table and private channel and event for new register

This commit is contained in:
Giovanni committed 2026-01-07 16:50:51 +01:00
1 parent 6eaac7a745
commit 2790026475
33 files changed
+1415 -15

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?php
use Illuminate\Support\Facades\Broadcast;
Broadcast::channel('admins-private', function ($user) {
return in_array($user->role, [1, 2]);
});