mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-30 02:15:40 +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
|
||||
(u/side-effect!
|
||||
(fn [_ [_ {:keys [whisper-identity] :as contact}]]
|
||||
(dispatch [:send-contact-request! contact])
|
||||
(fn [_ [_ {:keys [whisper-identity dapp?] :as contact}]]
|
||||
(when-not dapp?
|
||||
(dispatch [:send-contact-request! contact]))
|
||||
(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