Fix browser history on mobile

This commit is contained in:
Alexander Zinchuk 2021-04-24 13:35:53 +03:00
parent 37ab47ab5b
commit 155b90ec05

View File

@ -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