Clear Seq arguments before navigating back to chat. Fixes #1355

This commit is contained in:
Julien Eluard 2017-06-25 23:17:37 +02:00 committed by Roman Volosovskyi
parent 6d3edd7920
commit 2ab9e4e85e
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@
(register-handler :open-chat-with-the-send-transaction
(u/side-effect!
(fn [db [_ chat-id]]
(dispatch [:clear-seq-arguments])
(dispatch [:navigate-to :chat chat-id])
(js/setTimeout #(dispatch [:select-chat-input-command {:name "send"}]) 500))))