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
This commit is contained in:
parent
1c3cf325cb
commit
4161e7bfe1
|
@ -32,7 +32,9 @@ class Chat extends AbstractChat<Props> {
|
|||
headerProps = {{
|
||||
headerLabelKey: 'chat.title'
|
||||
}}
|
||||
modalId = { CHAT_VIEW_MODAL_ID }>
|
||||
modalId = { CHAT_VIEW_MODAL_ID }
|
||||
onClose = { this.props._onToggleChat }>
|
||||
|
||||
<MessageContainer messages = { this.props._messages } />
|
||||
<MessageRecipient />
|
||||
<ChatInputBar onSend = { this.props._onSendMessage } />
|
||||
|
|
Loading…
Reference in New Issue