mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update LiveStreamController, clear chat cache when deleting stream
This commit is contained in:
parent
f51ffa7eab
commit
f8e585c49a
1 changed files with 1 additions and 0 deletions
|
@ -144,6 +144,7 @@ class LiveStreamController extends Controller
|
|||
->get()
|
||||
->each(function($stream) {
|
||||
Storage::deleteDirectory("public/live-hls/{$stream->stream_id}");
|
||||
LiveStreamService::clearChat($stream->profile_id);
|
||||
$stream->delete();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue