From e7f7192b6625f58ccded86727fd7ec454f16131f Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 29 Mar 2024 20:51:27 +0100 Subject: [PATCH] Open Chat: Fix open temporary chat (#4444) --- src/global/actions/api/chats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/actions/api/chats.ts b/src/global/actions/api/chats.ts index 8483b7ade..1407cf13a 100644 --- a/src/global/actions/api/chats.ts +++ b/src/global/actions/api/chats.ts @@ -211,7 +211,7 @@ addActionHandler('openChat', (global, actions, payload): ActionReturnType => { abortChatRequestsForCurrentChat(global, id, MAIN_THREAD_ID, tabId); - if (!id) { + if (!id || id === TMP_CHAT_ID) { return; }