mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
contact-hook: fix invite to group being sent back to owner upon acceptance
This commit is contained in:
parent
96cccc7665
commit
2d0e7c76c5
@ -302,8 +302,9 @@
|
|||||||
++ add
|
++ add
|
||||||
|= [ships=(set ship) =path]
|
|= [ships=(set ship) =path]
|
||||||
^- (quip card _state)
|
^- (quip card _state)
|
||||||
?. (~(has by synced) path)
|
=/ owner (~(get by synced) path)
|
||||||
[~ state]
|
?~ owner [~ state]
|
||||||
|
?. =(u.owner our.bol) [~ state]
|
||||||
:_ state
|
:_ state
|
||||||
%+ turn ~(tap in (~(del in ships) our.bol))
|
%+ turn ~(tap in (~(del in ships) our.bol))
|
||||||
|= =ship
|
|= =ship
|
||||||
|
Loading…
Reference in New Issue
Block a user