mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-30 10:26:24 +00:00
prevent sending contact request to dapp
This commit is contained in:
parent
c984c07183
commit
2a0239ddae
@ -383,7 +383,8 @@
|
|||||||
|
|
||||||
(register-handler :open-chat-with-contact
|
(register-handler :open-chat-with-contact
|
||||||
(u/side-effect!
|
(u/side-effect!
|
||||||
(fn [_ [_ {:keys [whisper-identity] :as contact}]]
|
(fn [_ [_ {:keys [whisper-identity dapp?] :as contact}]]
|
||||||
(dispatch [:send-contact-request! contact])
|
(when-not dapp?
|
||||||
|
(dispatch [:send-contact-request! contact]))
|
||||||
(dispatch [:navigate-to-clean :chat-list])
|
(dispatch [:navigate-to-clean :chat-list])
|
||||||
(dispatch [:start-chat whisper-identity {}]))))
|
(dispatch [:start-chat whisper-identity {}]))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user