accounts: add a random status to a recovered account #637

This commit is contained in:
Gustavo Nunes 2017-01-10 23:27:41 -02:00
parent fd773c41ca
commit 206464180b
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
[status-im.utils.identicon :refer [identicon]] [status-im.utils.identicon :refer [identicon]]
[taoensso.timbre :as log] [taoensso.timbre :as log]
[clojure.string :as str] [clojure.string :as str]
[status-im.accounts.statuses :as statuses]
[status-im.utils.handlers :as u] [status-im.utils.handlers :as u]
[status-im.utils.gfycat.core :refer [generate-gfy]] [status-im.utils.gfycat.core :refer [generate-gfy]]
[status-im.protocol.core :as protocol])) [status-im.protocol.core :as protocol]))
@ -18,6 +19,7 @@
account {:public-key public-key account {:public-key public-key
:address address :address address
:name (generate-gfy) :name (generate-gfy)
:status (rand-nth statuses/data)
:photo-path (identicon public-key) :photo-path (identicon public-key)
:updates-public-key public :updates-public-key public
:updates-private-key private :updates-private-key private