review comments

This commit is contained in:
Roman Volosovskyi 2017-06-28 10:08:09 +03:00
parent 4f6ebb53d3
commit 9665ea466d
2 changed files with 4 additions and 5 deletions

View File

@ -130,7 +130,6 @@
(input-model/split-command-args)
(rest))
to (get-in db [:contacts current-chat-id :address])
from (get-in db [])
params {:parameters {:args args}
:context (merge {:data data
:from current-account-id

View File

@ -80,7 +80,7 @@
command' (->> (assoc command-message :handler-data handler-data)
(prepare-command current-public-key chat-id clock-value request)
(cu/check-author-direction db chat-id))]
(log/debug "Handler data: " request (:handler-data command) (dissoc params :commands :command-message))
(log/debug "Handler data: " request handler-data (dissoc params :commands :command-message))
(dispatch [:update-message-overhead! chat-id network-status])
(dispatch [:set-chat-ui-props {:sending-in-progress? false}])
(dispatch [::send-command! add-to-chat-id (assoc params :command command') hidden-params])