mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-27 15:51:04 +00:00
nilable :message/to spec
Former-commit-id: 50e37bf327897b8cb68bd5c01ae98ac98b4933ba
This commit is contained in:
parent
d1dfce60d5
commit
0a3b8e137e
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
(s/def :message/ttl (s/and int? pos?))
|
(s/def :message/ttl (s/and int? pos?))
|
||||||
(s/def :message/from string?)
|
(s/def :message/from string?)
|
||||||
(s/def :message/to string?)
|
(s/def :message/to (s/nilable string?))
|
||||||
(s/def :message/message-id string?)
|
(s/def :message/message-id string?)
|
||||||
(s/def :message/requires-ack? boolean?)
|
(s/def :message/requires-ack? boolean?)
|
||||||
(s/def :keypair/private string?)
|
(s/def :keypair/private string?)
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
update to set/union #{[web3 message-id to]})))))))
|
update to set/union #{[web3 message-id to]})))))))
|
||||||
|
|
||||||
(s/def :delivery/pending-message
|
(s/def :delivery/pending-message
|
||||||
(s/keys :req-un [:message/to :message/from :shh/payload
|
(s/keys :req-un [:message/from :message/to :shh/payload
|
||||||
:message/requires-ack? :payload/ack? ::id :message/topics
|
:message/requires-ack? :payload/ack? ::id :message/topics
|
||||||
::attempts ::was-sent?]))
|
::attempts ::was-sent?]))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user