fix #545
This commit is contained in:
parent
28147a3730
commit
7c36421d57
|
@ -83,6 +83,7 @@
|
||||||
(register-handler :cancel-command
|
(register-handler :cancel-command
|
||||||
(fn [{:keys [current-chat-id] :as db} _]
|
(fn [{:keys [current-chat-id] :as db} _]
|
||||||
(-> db
|
(-> db
|
||||||
|
(dissoc :canceled-command)
|
||||||
(assoc-in [:chats current-chat-id :command-input] {})
|
(assoc-in [:chats current-chat-id :command-input] {})
|
||||||
(update-in [:chats current-chat-id :input-text] safe-trim))))
|
(update-in [:chats current-chat-id :input-text] safe-trim))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue