From 89c6cb31340df26f01b14a33f17f8d0f1320f9e4 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 6 Mar 2024 11:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=AD=E5=BC=80=E8=BF=9E=E6=8E=A5=E4=B9=8B?= =?UTF-8?q?=E5=90=8E,=20=E5=8F=96=E6=B6=88=E5=BD=93=E5=89=8D=E4=BC=9A?= =?UTF-8?q?=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/ConversationStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/ConversationStore.js b/src/stores/ConversationStore.js index 69a7a6e..f4a74c9 100644 --- a/src/stores/ConversationStore.js +++ b/src/stores/ConversationStore.js @@ -65,7 +65,7 @@ const websocketSlice = (set, get) => ({ acc[key] = newMsgList; return acc; }, {}); - set({ activeConversations: newMsgList }); + set({ activeConversations: newMsgList, currentConversation: {} }); }, (n) => setWebsocketRetrytimes(n) );