Visual feedback after add contact (#315)

This commit is contained in:
Alexander Pantyuhov 2016-11-07 16:15:49 +03:00
parent 21aa16b842
commit f97d8f9569
1 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,8 @@
(u/side-effect!
(fn [_ [_ {:keys [whisper-identity] :as contact}]]
(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
(-> add-new-contact