mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 05:22:27 +03:00
jael: properly store ship sources
This commit is contained in:
parent
7706ed6a0c
commit
15bd35301e
@ -875,11 +875,6 @@
|
||||
++ sources
|
||||
|= [whos=(set ship) =source]
|
||||
^+ ..feel
|
||||
?: ?=(%& -.source)
|
||||
=/ send-message
|
||||
|= =message
|
||||
[hen %pass /public-keys %a %plea p.source %j /public-keys message]
|
||||
(emit (send-message %public-keys whos))
|
||||
=^ =source-id this-su (get-source-id source)
|
||||
=. ..feed
|
||||
?~ whos
|
||||
@ -894,6 +889,12 @@
|
||||
%- ~(gas ju ship-sources-reverse.etn)
|
||||
(turn whol |=(=ship [source-id ship]))
|
||||
..feed
|
||||
::
|
||||
?: ?=(%& -.source)
|
||||
=/ send-message
|
||||
|= =message
|
||||
[hen %pass /public-keys %a %plea p.source %j /public-keys message]
|
||||
(emit (send-message %public-keys whos))
|
||||
(peer p.source whos)
|
||||
--
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user