From 3745a4db4e2dbc2b3a8c64a59cd0e4ec0d122acc Mon Sep 17 00:00:00 2001 From: Mia <49593536+mia-pi-git@users.noreply.github.com> Date: Tue, 13 Sep 2022 08:51:48 -0500 Subject: [PATCH] Youtube: Remove single groupwatch restriction Causing issues right now and really not necessary in the long run. Realistically there's probably no issue with a room running two streams. --- server/chat-plugins/youtube.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/chat-plugins/youtube.ts b/server/chat-plugins/youtube.ts index a8cba32081..8206263f89 100644 --- a/server/chat-plugins/youtube.ts +++ b/server/chat-plugins/youtube.ts @@ -306,11 +306,6 @@ export class YoutubeInterface { const id = this.getId(url); const videoInfo = await this.getVideoData(id); if (!videoInfo) throw new Chat.ErrorMessage(`Video not found.`); - if ([...Rooms.rooms.values()].some(r => r.roomid.startsWith('video-watch-'))) { - throw new Chat.ErrorMessage( - `A groupwatch is already going on. Please wait until it is done before creating another.` - ); - } const num = baseRoom.nextGameNumber(); baseRoom.saveSettings(); const gameRoom = Rooms.createGameRoom(`video-watch-${num}` as RoomID, Utils.html`[Group Watch] ${title}`, {