fix #680
This commit is contained in:
parent
ba3034f0cc
commit
a0b20e3c22
|
@ -199,6 +199,8 @@
|
||||||
(dispatch [::send-message! params])))
|
(dispatch [::send-message! params])))
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [_ [_ {:keys [chat-id message]}]]
|
(fn [_ [_ {:keys [chat-id message]}]]
|
||||||
|
(dispatch [:upsert-chat! {:chat-id chat-id
|
||||||
|
:timestamp (time/now-ms)}])
|
||||||
(messages/save chat-id message))))
|
(messages/save chat-id message))))
|
||||||
|
|
||||||
(register-handler :clear-response-suggestions
|
(register-handler :clear-response-suggestions
|
||||||
|
|
Loading…
Reference in New Issue