mirror of https://github.com/buster-so/buster.git
switch reasoning
This commit is contained in:
parent
203893f250
commit
33e508467d
|
@ -111,6 +111,12 @@ export const useBusterNewChat = () => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//needed in order to trigger the auto change layout
|
||||||
|
busterSocket.once({
|
||||||
|
route: '/chats/post:initializeChat',
|
||||||
|
callback: initializeNewChatCallback
|
||||||
|
});
|
||||||
|
|
||||||
await busterSocket.emitAndOnce({
|
await busterSocket.emitAndOnce({
|
||||||
emitEvent: {
|
emitEvent: {
|
||||||
route: '/chats/post',
|
route: '/chats/post',
|
||||||
|
|
Loading…
Reference in New Issue