Visual feedback after add contact (#315)
This commit is contained in:
parent
21aa16b842
commit
f97d8f9569
|
@ -172,7 +172,8 @@
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [_ [_ {:keys [whisper-identity] :as contact}]]
|
(fn [_ [_ {:keys [whisper-identity] :as contact}]]
|
||||||
(when-not (contacts/get-by-id whisper-identity)
|
(when-not (contacts/get-by-id whisper-identity)
|
||||||
(dispatch [::prepare-contact contact])))))
|
(dispatch [::prepare-contact contact])
|
||||||
|
(dispatch [:start-chat whisper-identity {} :navigation-replace])))))
|
||||||
|
|
||||||
(register-handler ::prepare-contact
|
(register-handler ::prepare-contact
|
||||||
(-> add-new-contact
|
(-> add-new-contact
|
||||||
|
|
Loading…
Reference in New Issue