parent
43deff4076
commit
65af0a91fb
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue