reset text input after editing message

Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
Michele Balistreri 2021-07-27 12:14:23 +02:00
parent 413960682a
commit 9a61ef3fd7
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@
:js-response true :js-response true
:on-error #(log/error "failed to edit message " %) :on-error #(log/error "failed to edit message " %)
:on-success #(re-frame/dispatch [:sanitize-messages-and-process-response %])}]} :on-success #(re-frame/dispatch [:sanitize-messages-and-process-response %])}]}
(clean-input (:current-chat-id db)) (cancel-message-edit)
(process-cooldown))) (process-cooldown)))
(fx/defn send-current-message (fx/defn send-current-message