mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
Merge pull request #6136 from bacwyls/bwyl/clay-subs
clay: add scry for subscribers of a desk
This commit is contained in:
commit
463a94101a
@ -4160,8 +4160,24 @@
|
||||
:: +read-s: produce miscellaneous
|
||||
::
|
||||
++ read-s
|
||||
|= [yon=aeon pax=path]
|
||||
|= [yon=aeon pax=path =case]
|
||||
^- (unit (unit cage))
|
||||
?: ?=([%subs ~] pax)
|
||||
?. =([%da now] case) ~
|
||||
=| sus=(set ship)
|
||||
=/ doj=(unit dojo) (~(get by dos.rom) syd)
|
||||
?~ doj
|
||||
``noun+!>(sus)
|
||||
=/ wos ~(tap in ~(key by qyx.u.doj))
|
||||
|-
|
||||
?~ wos
|
||||
``noun+!>(sus)
|
||||
?~ for.i.wos
|
||||
$(wos t.wos)
|
||||
%= $
|
||||
wos t.wos
|
||||
sus (~(put in sus) ship.u.for.i.wos)
|
||||
==
|
||||
?: ?=([%bloc ~] pax)
|
||||
:^ ~ ~ %noun
|
||||
:- -:!>(*(map lobe page))
|
||||
@ -4427,7 +4443,7 @@
|
||||
%f (read-f yon path.mun)
|
||||
%p [(read-p path.mun) ..park]
|
||||
%r (read-r yon path.mun)
|
||||
%s [(read-s yon path.mun) ..park]
|
||||
%s [(read-s yon path.mun case.mun) ..park]
|
||||
%t [(read-t yon path.mun) ..park]
|
||||
%u [(read-u yon path.mun) ..park]
|
||||
%v [(read-v yon path.mun) ..park]
|
||||
|
Loading…
Reference in New Issue
Block a user