pending wallet in default contacts
This commit is contained in:
parent
6b9095d235
commit
c2ef0e4547
|
@ -7,7 +7,6 @@
|
|||
},
|
||||
"contacts":
|
||||
[
|
||||
"wallet",
|
||||
"oaken-water-meter",
|
||||
"melonport",
|
||||
"bchat",
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
},
|
||||
"unremovable?": true
|
||||
},
|
||||
|
||||
"wallet":
|
||||
{
|
||||
"name":
|
||||
|
@ -34,6 +35,7 @@
|
|||
},
|
||||
"photo-path": "icon_wallet_avatar",
|
||||
"dapp?": true,
|
||||
"pending?": true,
|
||||
"has-global-command?": true,
|
||||
"bot-url": "local://wallet-bot",
|
||||
"unremovable?": true
|
||||
|
|
|
@ -214,7 +214,7 @@
|
|||
(defn- prepare-default-contacts-events [contacts default-contacts]
|
||||
[[:add-contacts
|
||||
(for [[id {:keys [name photo-path public-key add-chat? global-command
|
||||
dapp? dapp-url dapp-hash bot-url unremovable?]}] default-contacts
|
||||
dapp? dapp-url dapp-hash bot-url unremovable? pending?]}] default-contacts
|
||||
:let [id' (clojure.core/name id)]
|
||||
:when (not (get contacts id'))]
|
||||
{:whisper-identity id'
|
||||
|
@ -227,7 +227,8 @@
|
|||
:dapp-url (:en dapp-url)
|
||||
:bot-url bot-url
|
||||
:global-command global-command
|
||||
:dapp-hash dapp-hash})]])
|
||||
:dapp-hash dapp-hash
|
||||
:pending? pending?})]])
|
||||
|
||||
(defn- prepare-add-chat-events [contacts default-contacts]
|
||||
(for [[id {:keys [name add-chat?]}] default-contacts
|
||||
|
|
|
@ -109,8 +109,7 @@
|
|||
:name "ÐApps"
|
||||
:order 1
|
||||
:timestamp 0
|
||||
:contacts [{:identity "wallet"}
|
||||
{:identity "oaken-water-meter"}
|
||||
:contacts [{:identity "oaken-water-meter"}
|
||||
{:identity "melonport"}
|
||||
{:identity "bchat"}
|
||||
{:identity "Dentacoin"}
|
||||
|
@ -129,7 +128,7 @@
|
|||
:bot-url nil
|
||||
:whisper-identity "wallet"
|
||||
:dapp? true
|
||||
:pending? false
|
||||
:pending? true
|
||||
:unremovable? true
|
||||
:public-key nil})
|
||||
|
||||
|
|
Loading…
Reference in New Issue