diff --git a/web/src/context/Chats/NewChatProvider.tsx b/web/src/context/Chats/NewChatProvider.tsx index 825996b13..6c419309c 100644 --- a/web/src/context/Chats/NewChatProvider.tsx +++ b/web/src/context/Chats/NewChatProvider.tsx @@ -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({ emitEvent: { route: '/chats/post',