mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -462,6 +462,9 @@
|
||||
|
||||
$socket?.on('chat-events', chatEventHandler);
|
||||
$socket?.on('channel-events', channelEventHandler);
|
||||
} else {
|
||||
$socket?.off('chat-events', chatEventHandler);
|
||||
$socket?.off('channel-events', channelEventHandler);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user