Skip to content

Commit

Permalink
Merge pull request #1245 from gagansuie/dev
Browse files Browse the repository at this point in the history
Fix: removed try catch and added table logger
  • Loading branch information
gagansuie authored May 13, 2024
2 parents f9ef216 + 9529ca0 commit ca88174
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/routes/channel/[channelId]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit ca88174

Please sign in to comment.