Skip to content
Snippets Groups Projects
Unverified Commit 868b7d2f authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12116 from Tainan404/issue-12093

Fix client crashing with multiple private chats
parents 3c0c4f0b ac731670
No related branches found
No related tags found
No related merge requests found
......@@ -328,6 +328,7 @@ const reducer = (state, action) => {
timeWindowIds.forEach((timeWindowId)=> {
const timeWindow = messages[timeWindowId];
if (timeWindow.messageType === MESSAGE_TYPES.STREAM) {
chat.unreadTimeWindows.delete(timeWindowId);
delete newState[chatId][group][timeWindowId];
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment