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…
Reference in New Issue