mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 10:46:21 +00:00
chat properties from subscribed atom
This commit is contained in:
parent
b7ce3df93d
commit
f34170a3c1
@ -42,7 +42,7 @@
|
|||||||
(reset! text new-text)
|
(reset! text new-text)
|
||||||
(r/flush))
|
(r/flush))
|
||||||
:onSubmitEditing (fn [e]
|
:onSubmitEditing (fn [e]
|
||||||
(let [{:keys [group-chat chat-id]} @chat]
|
(let [{:keys [group-chat chat-id]} (:chat-id @chat)]
|
||||||
(if group-chat
|
(if group-chat
|
||||||
(dispatch [:send-group-chat-msg chat-id @text])
|
(dispatch [:send-group-chat-msg chat-id @text])
|
||||||
(dispatch [:send-chat-msg chat-id @text])))
|
(dispatch [:send-chat-msg chat-id @text])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user