From 6d3edd79202794e7cd76601fd1b5c7aeafa40673 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Thu, 15 Jun 2017 19:39:02 +0300 Subject: [PATCH] fixes https://github.com/status-im/status-react/issues/1325 --- src/status_im/data_store/contacts.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/data_store/contacts.cljs b/src/status_im/data_store/contacts.cljs index 8dae1369dc..a4665fcc4f 100644 --- a/src/status_im/data_store/contacts.cljs +++ b/src/status_im/data_store/contacts.cljs @@ -29,7 +29,7 @@ (defn save [{:keys [whisper-identity pending?] :as contact}] (let [{pending-db? :pending? - :as contact-db} (data-store/get-by-id whisper-identity) + :as contact-db} (get-by-id whisper-identity) contact' (-> contact (assoc :pending? (boolean (if contact-db (if (nil? pending?) pending-db? pending?)