Merge pull request #425 from status-im/bug/#315

Visual feedback after add contact (#315)
This commit is contained in:
Roman Volosovskyi 2016-11-08 17:52:16 +02:00 committed by GitHub
commit 85494614df
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