mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-28 17:36:38 +00:00
fix command sending
This commit is contained in:
parent
a70d3eba28
commit
64863c87ac
@ -24,10 +24,10 @@
|
||||
|
||||
(register-handler :invoke-console-command-handler!
|
||||
(u/side-effect!
|
||||
(fn [_ [_ {:keys [staged-command] :as parameters}]]
|
||||
(fn [_ [_ {:keys [chat-id staged-command] :as parameters}]]
|
||||
(let [{:keys [id command params]} staged-command
|
||||
{:keys [name]} command]
|
||||
(dispatch [:prepare-command! parameters])
|
||||
(dispatch [:prepare-command! chat-id parameters])
|
||||
((console-commands (keyword name)) params id)))))
|
||||
|
||||
(register-handler :set-message-status
|
||||
|
Loading…
x
Reference in New Issue
Block a user