fix clear history

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-09-26 12:18:56 +02:00
parent 559b74ba94
commit 32ca986ab2
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@
(handlers/register-handler-fx
:clear-history
(fn [{{:keys [current-chat-id]} :db :as cofx} _]
(models/clear-history current-chat-id cofx)))
(models/clear-history cofx current-chat-id)))
(handlers/register-handler-fx
:clear-history?