mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
chat properties from subscribed atom
Former-commit-id: f34170a3c13f315eaf2c802b2ea60440e39a6338
This commit is contained in:
parent
d1180f9d4e
commit
67331fa7ed
@ -42,7 +42,7 @@
|
||||
(reset! text new-text)
|
||||
(r/flush))
|
||||
:onSubmitEditing (fn [e]
|
||||
(let [{:keys [group-chat chat-id]} @chat]
|
||||
(let [{:keys [group-chat chat-id]} (: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