add reverb container, unread attribute in notification pivot table and private channel and event for new register
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
|
||||
Broadcast::channel('admins-private', function ($user) {
|
||||
return in_array($user->role, [1, 2]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user