mirror of
https://github.com/open-webui/open-webui
synced 2025-04-20 22:35:03 +00:00
refac
This commit is contained in:
parent
029625ec4e
commit
6bd2bc5683
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user