Browse Source

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
master
tombrown86 5 years ago
parent
commit
4161e7bfe1
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      react/features/chat/components/native/Chat.js

+ 3
- 1
react/features/chat/components/native/Chat.js View File

@@ -32,7 +32,9 @@ class Chat extends AbstractChat<Props> {
32 32
                 headerProps = {{
33 33
                     headerLabelKey: 'chat.title'
34 34
                 }}
35
-                modalId = { CHAT_VIEW_MODAL_ID }>
35
+                modalId = { CHAT_VIEW_MODAL_ID }
36
+                onClose = { this.props._onToggleChat }>
37
+
36 38
                 <MessageContainer messages = { this.props._messages } />
37 39
                 <MessageRecipient />
38 40
                 <ChatInputBar onSend = { this.props._onSendMessage } />

Loading…
Cancel
Save