[refactor] remove jail-loaded? and jail-loaded-events
This commit is contained in:
parent
009d974d83
commit
4804d11b0f
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
:hide-contact? false,
|
||||
:address nil,
|
||||
:name "Demo bot",
|
||||
:jail-loaded? true,
|
||||
:fcm-token nil,
|
||||
:dapp-url nil,
|
||||
:dapp-hash nil,
|
||||
|
|
Loading…
Reference in New Issue