Merge pull request #3870 from urbit/lf/fix-push-remove

lib-push-hook: fix behaviour of %remove
This commit is contained in:
matildepark 2020-11-05 18:47:24 -05:00 committed by GitHub
commit 13a1f055b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,14 +318,15 @@
|= rid=resource
=/ pax=path
[%resource (en-path:resource rid)]
=/ paths=(list path)
=/ paths=(set path)
%- sy
%+ turn
(incoming-subscriptions pax)
|=([ship pox=path] pax)
|=([ship pox=path] pox)
=. sharing
(~(del in sharing) rid)
:_ state
[%give %kick ~[pax] ~]~
[%give %kick ~(tap in paths) ~]~
::
++ revoke
|= [ships=(set ship) rid=resource]