mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Update LiveStreamController, add stream end event to deleteStream
This commit is contained in:
parent
aaed03596f
commit
b55e91d1e3
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class LiveStreamController extends Controller
|
|||
->each(function($stream) {
|
||||
Storage::deleteDirectory("public/live-hls/{$stream->stream_id}");
|
||||
LiveStreamService::clearChat($stream->profile_id);
|
||||
StreamEnd::dispatch($stream);
|
||||
$stream->delete();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue