소스 검색

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 년 전
부모
커밋
4161e7bfe1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      react/features/chat/components/native/Chat.js

+ 3
- 1
react/features/chat/components/native/Chat.js 파일 보기

@@ -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…
취소
저장