Merge pull request #2262 from urbit/dupe-invite-os1

contact-hook: fix invite to group being sent back to owner upon accep…
This commit is contained in:
Logan 2020-02-10 15:29:13 -08:00 committed by GitHub
commit 41f1cb67ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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