mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +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
|
||||
(u/side-effect!
|
||||
(fn [db [_ chat-id message]]
|
||||
(if true #_(commands-loaded? db chat-id)
|
||||
(if (commands-loaded? db chat-id)
|
||||
(dispatch [:received-message message])
|
||||
(s/execute-later
|
||||
#(dispatch [:received-message-when-commands-loaded chat-id message])
|
||||
|
Loading…
x
Reference in New Issue
Block a user