diff --git a/lib/presentation/new_chat/store/new_chat_store.dart b/lib/presentation/new_chat/store/new_chat_store.dart index f387950..292da8c 100644 --- a/lib/presentation/new_chat/store/new_chat_store.dart +++ b/lib/presentation/new_chat/store/new_chat_store.dart @@ -75,6 +75,7 @@ abstract class _NewChatStore with Store { this.success = true; ChatStore _chatStore = getIt(); _chatStore.setChatThreads([..._chatStore.chatThreads, chatThread]); + _chatStore.setChatThreadId(chatThread.id); }).catchError((e) { print(e); this.success = false;