From 95e7b8598e18cca4f2fec5fb52da2e26045aef04 Mon Sep 17 00:00:00 2001 From: fang Date: Tue, 22 Nov 2022 23:11:39 +0100 Subject: [PATCH] jael: send updates to all "general" pubkey subs Subscribing with `[%public-keys ~]` should give updates for all ships we know about, including moons. --- pkg/arvo/sys/vane/jael.hoon | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg/arvo/sys/vane/jael.hoon b/pkg/arvo/sys/vane/jael.hoon index 69596a5c3..9cbd5e031 100644 --- a/pkg/arvo/sys/vane/jael.hoon +++ b/pkg/arvo/sys/vane/jael.hoon @@ -736,12 +736,10 @@ ++ subscribers-on-ship |= =ship ^- (set duct) - =/ specific-subs (~(get ju ney.zim) ship) - =/ general-subs=(set duct) - ?: ?=(?(%czar %king %duke) (clan:title ship)) - nel.zim - ~ - (~(uni in specific-subs) general-subs) + :: union of general and ship-specific subs + :: + %- ~(uni in nel.zim) + (~(get ju ney.zim) ship) :: ++ feed |_ :: hen: subscription source