Revert "fixed #702"

This reverts commit ad255fbf8c474c0623eb0eb69ad31852b1b93f76.
fixed #702
This commit is contained in:
Andrey Shovkoplyas 2017-01-20 11:29:03 +03:00 committed by Roman Volosovskyi
parent 556b9beec7
commit 2765ca3eca
2 changed files with 3 additions and 4 deletions

View File

@ -82,9 +82,8 @@
(defn show-profile (defn show-profile
[db [_ identity]] [db [_ identity]]
(-> db (dispatch [:navigate-forget :profile])
(assoc :contact-identity identity) (assoc db :contact-identity identity))
(push-view :profile)))
(register-handler :show-profile show-profile) (register-handler :show-profile show-profile)

View File

@ -9,7 +9,7 @@
(defn message-user [identity] (defn message-user [identity]
(when identity (when identity
(dispatch [:navigate-to :chat identity]))) (dispatch [:navigation-replace :chat identity])))
(register-handler :open-image-picker (register-handler :open-image-picker
(u/side-effect! (u/side-effect!