Update LiveStreamController, clear chat cache when deleting stream

pull/3562/head
Daniel Supernault 3 years ago
parent f51ffa7eab
commit f8e585c49a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save