This commit is contained in:
Roman Volosovskyi 2017-04-20 12:55:00 +03:00
parent e6be49b77b
commit b52428d319
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@
(defn add-memebers
[{:keys [current-chat-id selected-participants] :as db} _]
(let [new-identities (map #(hash-map :identity %) selected-participants)]
(update db [:chats current-chat-id :contacts] concat new-identities)))
(update-in db [:chats current-chat-id :contacts] concat new-identities)))
(defn add-members-to-chat!
[{:keys [current-chat-id selected-participants]} _]