From 2d0e7c76c518e894d64aca09d845f5aa2a828151 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Mon, 10 Feb 2020 14:15:58 -0800 Subject: [PATCH] contact-hook: fix invite to group being sent back to owner upon acceptance --- pkg/arvo/app/contact-hook.hoon | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/app/contact-hook.hoon b/pkg/arvo/app/contact-hook.hoon index ecef8cb7a..f0e107408 100644 --- a/pkg/arvo/app/contact-hook.hoon +++ b/pkg/arvo/app/contact-hook.hoon @@ -302,8 +302,9 @@ ++ add |= [ships=(set ship) =path] ^- (quip card _state) - ?. (~(has by synced) path) - [~ state] + =/ owner (~(get by synced) path) + ?~ owner [~ state] + ?. =(u.owner our.bol) [~ state] :_ state %+ turn ~(tap in (~(del in ships) our.bol)) |= =ship