diff --git a/src/modules/actions/ui/chats.ts b/src/modules/actions/ui/chats.ts index a6f504772..d5831a626 100644 --- a/src/modules/actions/ui/chats.ts +++ b/src/modules/actions/ui/chats.ts @@ -24,8 +24,8 @@ addReducer('openChat', (global, actions, payload) => { const currentMessageList = selectCurrentMessageList(global); - if (currentMessageList - && ( + if (!currentMessageList + || ( currentMessageList.chatId !== id || currentMessageList.threadId !== threadId || currentMessageList.type !== type