Dont try to use nil as a function

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
Andrea Maria Piana 2019-09-11 12:27:47 +02:00
parent 4a4af53876
commit e6c5dd6c81
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 1 additions and 1 deletions

View File

@ -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)
%)))))