contact-hook: fix invite to group being sent back to owner upon acceptance

This commit is contained in:
Logan Allen 2020-02-10 14:15:58 -08:00
parent 96cccc7665
commit 2d0e7c76c5

View File

@ -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