diff --git a/src/status_im/contacts/views/new_contact.cljs b/src/status_im/contacts/views/new_contact.cljs index 71a35d953e..018fc6e2e4 100644 --- a/src/status_im/contacts/views/new_contact.cljs +++ b/src/status_im/contacts/views/new_contact.cljs @@ -103,7 +103,7 @@ :style icon-back} :handler #(dispatch [:navigate-back])} :custom-content toolbar-title - :actions (toolbar-actions new-contact-identity accounts error)}]] + :actions (toolbar-actions new-contact-identity account error)}]] [view st/form-container [contact-whisper-id-input new-contact-identity error]] [view st/address-explication-container diff --git a/src/status_im/discovery/handlers.cljs b/src/status_im/discovery/handlers.cljs index 751f91e633..49321f62d5 100644 --- a/src/status_im/discovery/handlers.cljs +++ b/src/status_im/discovery/handlers.cljs @@ -7,7 +7,8 @@ [status-im.data-store.discovery :as discoveries] [status-im.utils.handlers :as u] [status-im.utils.datetime :as time] - [status-im.utils.random :as random])) + [status-im.utils.random :as random] + [status-im.data-store.contacts :as contacts])) (register-handler :init-discoveries (fn [db _] @@ -52,7 +53,7 @@ (register-handler :check-status! (u/side-effect! (fn [db [_ {:keys [whisper-identity status]} payload]] - (let [{old-status :status} (contacts/get-contact whisper-identity)] + (let [{old-status :status} (contacts/get-by-id whisper-identity)] (when (not= old-status status) (let [hashtags (get-hashtags status)] (when-not (empty? hashtags)