mirror of
https://github.com/status-im/status-react.git
synced 2025-02-20 06:39:22 +00:00
missed chat-id
This commit is contained in:
parent
64863c87ac
commit
b51653fcd8
@ -38,6 +38,7 @@
|
|||||||
(or message (label :t/confirmation-code)))
|
(or message (label :t/confirmation-code)))
|
||||||
:content-type content-type-command-request
|
:content-type content-type-command-request
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"}])))
|
:to "me"}])))
|
||||||
|
|
||||||
@ -62,6 +63,7 @@
|
|||||||
:content (label :t/contacts-syncronized)
|
:content (label :t/contacts-syncronized)
|
||||||
:content-type text-content-type
|
:content-type text-content-type
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"}])
|
:to "me"}])
|
||||||
(dispatch [:set-signed-up true]))
|
(dispatch [:set-signed-up true]))
|
||||||
@ -76,6 +78,7 @@
|
|||||||
:content (:message body)
|
:content (:message body)
|
||||||
:content-type text-content-type
|
:content-type text-content-type
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"}])
|
:to "me"}])
|
||||||
(let [status (keyword (:status body))]
|
(let [status (keyword (:status body))]
|
||||||
@ -97,6 +100,7 @@
|
|||||||
(label :t/phone-number-required))
|
(label :t/phone-number-required))
|
||||||
:content-type content-type-command-request
|
:content-type content-type-command-request
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"}])))
|
:to "me"}])))
|
||||||
|
|
||||||
@ -107,6 +111,7 @@
|
|||||||
:content (label :t/here-is-your-passphrase)
|
:content (label :t/here-is-your-passphrase)
|
||||||
:content-type text-content-type
|
:content-type text-content-type
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"
|
:to "me"
|
||||||
:new? false}])
|
:new? false}])
|
||||||
@ -115,6 +120,7 @@
|
|||||||
:content mnemonic
|
:content mnemonic
|
||||||
:content-type text-content-type
|
:content-type text-content-type
|
||||||
:outgoing false
|
:outgoing false
|
||||||
|
:chat-id console-chat-id
|
||||||
:from console-chat-id
|
:from console-chat-id
|
||||||
:to "me"
|
:to "me"
|
||||||
:new? false}])
|
:new? false}])
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
[db phone-number message-id handler]
|
[db phone-number message-id handler]
|
||||||
(let [current-account-id (get db :current-account-id)
|
(let [current-account-id (get db :current-account-id)
|
||||||
{:keys [public-key address]} (get-in db [:accounts current-account-id])]
|
{:keys [public-key address]} (get-in db [:accounts current-account-id])]
|
||||||
;(user-data/save-phone-number phone-number)
|
|
||||||
(log/debug "signing up with public-key" public-key "and phone " phone-number)
|
(log/debug "signing up with public-key" public-key "and phone " phone-number)
|
||||||
(http-post "sign-up" {:phone-number phone-number
|
(http-post "sign-up" {:phone-number phone-number
|
||||||
:whisper-identity public-key
|
:whisper-identity public-key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user