From 4161e7bfe1356409eceed7e723dafc22ffbbd468 Mon Sep 17 00:00:00 2001 From: tombrown86 Date: Thu, 23 Jul 2020 10:42:19 +0100 Subject: [PATCH] fix: no new msg notifications after opening chat modal [NATIVE] call TOGGLE_CHAT action when chat modal is closed to correctly update chat isOpen state --- react/features/chat/components/native/Chat.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/react/features/chat/components/native/Chat.js b/react/features/chat/components/native/Chat.js index f9b5d29f4..5cdcc553c 100644 --- a/react/features/chat/components/native/Chat.js +++ b/react/features/chat/components/native/Chat.js @@ -32,7 +32,9 @@ class Chat extends AbstractChat { headerProps = {{ headerLabelKey: 'chat.title' }} - modalId = { CHAT_VIEW_MODAL_ID }> + modalId = { CHAT_VIEW_MODAL_ID } + onClose = { this.props._onToggleChat }> +