diff --git a/src/routes/channel/[channelId]/+page.svelte b/src/routes/channel/[channelId]/+page.svelte index e77792c8..5654e78b 100644 --- a/src/routes/channel/[channelId]/+page.svelte +++ b/src/routes/channel/[channelId]/+page.svelte @@ -257,7 +257,7 @@ } else { const activeGuests = parsedMsg.activeGuests if (activeGuests?.length) { - if (channel.videoItems.length) { + if (channel.videoItems?.length) { // for users that are in the channel and new users join // add new users but dont overwrite the existing ones streaming channel.videoItems = activeGuests.map((guest: any) => {