group-view: do not crash on rejoin

Fixes urbit/lansdcape#1113
This commit is contained in:
Liam Fitzgerald 2021-09-06 08:35:52 +10:00
parent be30ebb397
commit 57d0a7def4

View File

@ -193,7 +193,8 @@
++ jn-start ++ jn-start
|= [rid=resource =^ship] |= [rid=resource =^ship]
^+ jn-core ^+ jn-core
?< (~(has by joining) rid) ?> ?= $@(~ [~ %done])
(bind (~(get by joining) rid) |=(request:view progress))
=. joining =. joining
(~(put by joining) rid [%.n now.bowl ship %start]) (~(put by joining) rid [%.n now.bowl ship %start])
=. jn-core =. jn-core