mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
fixed chat-id in new msg is null
Former-commit-id: cca9868af93daefd40a91817745a7eefc6b788cd
This commit is contained in:
parent
d54d6555a4
commit
4ea142dd43
@ -42,7 +42,7 @@
|
||||
(reset! text new-text)
|
||||
(r/flush))
|
||||
:onSubmitEditing (fn [e]
|
||||
(let [{:keys [group-chat chat-id]} (:chat-id @chat)]
|
||||
(let [{:keys [group-chat chat-id]} @chat]
|
||||
(if group-chat
|
||||
(dispatch [:send-group-chat-msg chat-id @text])
|
||||
(dispatch [:send-chat-msg chat-id @text])))
|
||||
|
Loading…
x
Reference in New Issue
Block a user