diff --git a/src/routes/channel/[channelId]/+page.svelte b/src/routes/channel/[channelId]/+page.svelte index b947baf2..5cfe0b51 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),