reset text input after editing message
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
parent
413960682a
commit
9a61ef3fd7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue