This commit is contained in:
Timothy Jaeryang Baek committed 2025-03-03 20:34:45 -08:00
1 parent 029625ec4e
commit 6bd2bc5683
1 file changed
+3
+3
View File
@@ -462,6 +462,9 @@
$socket?.on('chat-events', chatEventHandler); $socket?.on('chat-events', chatEventHandler);
$socket?.on('channel-events', channelEventHandler); $socket?.on('channel-events', channelEventHandler);
} else {
$socket?.off('chat-events', chatEventHandler);
$socket?.off('channel-events', channelEventHandler);
} }
}); });