Skip to content

A self-hosted media server and file management system

fix: tasks run by non admin user dont send notification when finished

aminnausin241eda89ae47
diff --git a/routes/channels.php b/routes/channels.php
index a652d57d..b0c0b606 100644
--- a/routes/channels.php
+++ b/routes/channels.php
@@ -3,7 +3,7 @@
use Illuminate\Support\Facades\Broadcast;
Broadcast::channel('tasks.{id}', function ($user) {
- return (int) $user->id === 1;
+ return true;
});
Broadcast::channel('tasks.{id}.subtasks', function ($user) {