Skip to content

Commit

Permalink
from new chat to chat thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Dat-TG committed Dec 15, 2023
1 parent c3febc6 commit cfb7a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/presentation/new_chat/store/new_chat_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ abstract class _NewChatStore with Store {
this.success = true;
ChatStore _chatStore = getIt<ChatStore>();
_chatStore.setChatThreads([..._chatStore.chatThreads, chatThread]);
_chatStore.setChatThreadId(chatThread.id);
}).catchError((e) {
print(e);
this.success = false;
Expand Down

0 comments on commit cfb7a6b

Please sign in to comment.