[refactor] remove jail-loaded? and jail-loaded-events

This commit is contained in:
Eric Dvorsak 2018-10-26 17:51:46 +02:00 committed by yenda
parent 009d974d83
commit 4804d11b0f
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
3 changed files with 1 additions and 6 deletions

View File

@ -29,8 +29,6 @@
(spec/def :contact/bot-url (spec/nilable string?))
(spec/def :contact/command (spec/nilable (spec/map-of int? map?)))
(spec/def :contact/response (spec/nilable (spec/map-of int? map?)))
(spec/def :contact/jail-loaded? (spec/nilable boolean?))
(spec/def :contact/jail-loaded-events (spec/nilable seq?))
(spec/def :contact/subscriptions (spec/nilable map?))
;;true when contact added using status-dev-cli
(spec/def :contact/debug? boolean?)
@ -51,8 +49,6 @@
:contact/dapp-url
:contact/dapp-hash
:contact/bot-url
:contact/jail-loaded?
:contact/jail-loaded-events
:contact/command
:contact/response
:contact/debug?

View File

@ -21,7 +21,7 @@
(fn [realm]
(core/create realm
:contact
(dissoc contact :command :response :subscriptions :jail-loaded-events)
(dissoc contact :command :response :subscriptions)
true)))
(defn save-contacts-tx

View File

@ -15,7 +15,6 @@
:hide-contact? false,
:address nil,
:name "Demo bot",
:jail-loaded? true,
:fcm-token nil,
:dapp-url nil,
:dapp-hash nil,