diff --git a/src/lib/components/Channel/Chat/DrawerChat.svelte b/src/lib/components/Channel/Chat/DrawerChat.svelte index 97fc4a1b..bef05b79 100644 --- a/src/lib/components/Channel/Chat/DrawerChat.svelte +++ b/src/lib/components/Channel/Chat/DrawerChat.svelte @@ -50,7 +50,8 @@ if ( $was_chat_drawer_closed && !chatHistory?.length && - $channel_connection === `open-${channel._id}` + $channel_connection === `open-${channel._id}` && + channel.socket?.readyState === WebSocket.OPEN ) { emitChatHistoryToChannel({ channelSocket: channel.socket, channelId: channel._id, skip: 100 }) } diff --git a/src/lib/components/Channel/Stream/VideoItem.svelte b/src/lib/components/Channel/Stream/VideoItem.svelte index 0c7b6ea0..eb858dfb 100644 --- a/src/lib/components/Channel/Stream/VideoItem.svelte +++ b/src/lib/components/Channel/Stream/VideoItem.svelte @@ -259,7 +259,7 @@ $: animate = isWebcamFocused ? '' : 'transition-all' -
+
+ (!video.screen ? 'w-full bottom-0 left-0 h-full' : 'w-1/4 bottom-0 right-0')}>