From e6c5dd6c81b2c419a7ee3bfc150a5601219fbf55 Mon Sep 17 00:00:00 2001 From: Andrea Maria Piana Date: Wed, 11 Sep 2019 12:27:47 +0200 Subject: [PATCH] Dont try to use nil as a function Signed-off-by: Andrea Maria Piana --- src/status_im/contact/db.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/contact/db.cljs b/src/status_im/contact/db.cljs index f602ca3bf9..613c4b20f0 100644 --- a/src/status_im/contact/db.cljs +++ b/src/status_im/contact/db.cljs @@ -114,7 +114,7 @@ (map #(or (get all-contacts %) (public-key->new-contact %))) (sort-by (comp clojure.string/lower-case :name)) - (map #(if (admins (:public-key %)) + (map #(if (get admins (:public-key %)) (assoc % :admin? true) %)))))