mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-10 07:36:46 +00:00
fix receiving of the first message
This commit is contained in:
parent
323a91760f
commit
0ee9bb09ac
@ -106,7 +106,7 @@
|
|||||||
(register-handler :received-message-when-commands-loaded
|
(register-handler :received-message-when-commands-loaded
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [db [_ chat-id message]]
|
(fn [db [_ chat-id message]]
|
||||||
(if true #_(commands-loaded? db chat-id)
|
(if (commands-loaded? db chat-id)
|
||||||
(dispatch [:received-message message])
|
(dispatch [:received-message message])
|
||||||
(s/execute-later
|
(s/execute-later
|
||||||
#(dispatch [:received-message-when-commands-loaded chat-id message])
|
#(dispatch [:received-message-when-commands-loaded chat-id message])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user