Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
4161e7bfe1
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3
    1
      react/features/chat/components/native/Chat.js

+ 3
- 1
react/features/chat/components/native/Chat.js Näytä tiedosto

32
                 headerProps = {{
32
                 headerProps = {{
33
                     headerLabelKey: 'chat.title'
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
                 <MessageContainer messages = { this.props._messages } />
38
                 <MessageContainer messages = { this.props._messages } />
37
                 <MessageRecipient />
39
                 <MessageRecipient />
38
                 <ChatInputBar onSend = { this.props._onSendMessage } />
40
                 <ChatInputBar onSend = { this.props._onSendMessage } />

Loading…
Peruuta
Tallenna