fix missed dapp params

This commit is contained in:
Roman Volosovskyi 2016-06-30 20:56:57 +03:00
parent df229035e7
commit 6fc1e0b46a
1 changed files with 3 additions and 1 deletions

View File

@ -475,7 +475,9 @@
:group-chat false
:is-active true
:timestamp (.getTime (js/Date.))
:contacts [{:identity contcat-id}]}]
:contacts [{:identity contcat-id}]
:dapp-url nil
:dapp-hash nil}]
(assoc db :new-chat chat)))
(defn add-chat [{:keys [new-chat] :as db} [_ chat-id]]