Update LiveStreamController, clear chat cache when deleting stream

pull/3562/head
Daniel Supernault 2022-06-26 19:50:40 -06:00
rodzic f51ffa7eab
commit f8e585c49a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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();
});