From d4b88f225280f5f9d290e641729f438c3221b011 Mon Sep 17 00:00:00 2001 From: Gagan Suie Date: Mon, 13 May 2024 17:05:03 -0500 Subject: [PATCH] Fix: testing logger table --- src/routes/channel/[channelId]/+page.svelte | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/routes/channel/[channelId]/+page.svelte b/src/routes/channel/[channelId]/+page.svelte index 5cfe0b51..b947baf2 100644 --- a/src/routes/channel/[channelId]/+page.svelte +++ b/src/routes/channel/[channelId]/+page.svelte @@ -179,13 +179,13 @@ clearInterval(platformPollingInterval) platformPollingInterval = null if (chan.socket?.readyState === WebSocket.OPEN) { - // emitChannelSubscribeByUser({ - // channelSocket: chan.socket, - // channelId: parseInt($page.params.channelId), - // hostId: chan.userId, - // userId: $page.data.user?.userId, - // username: $page.data.user?.user?.username - // }) + emitChannelSubscribeByUser({ + channelSocket: chan.socket, + channelId: parseInt($page.params.channelId), + hostId: chan.userId, + userId: $page.data.user?.userId, + username: $page.data.user?.user?.username + }) emitChatHistoryToChannel({ channelSocket: chan.socket, channelId: parseInt($page.params.channelId),