reel: dont undescribe if we had an old token because we dont want to invalidate links we passed out

This commit is contained in:
Hunter Miller 2024-09-20 11:45:29 -05:00
parent 5fc7a568a3
commit 773a637e2f

View File

@ -150,9 +150,6 @@
=. open-describes (~(put in open-describes) nonce) =. open-describes (~(put in open-describes) nonce)
=. stable-id (~(put by stable-id) id nonce) =. stable-id (~(put by stable-id) id nonce)
:_ this :_ this
%+ welp
?~ old-token ~
~[[%pass /undescribe %agent [civ %bait] %poke %bait-undescribe !>(u.old-token)]]
~[[%pass /describe %agent [civ %bait] %poke %bait-describe !>([nonce metadata])]] ~[[%pass /describe %agent [civ %bait] %poke %bait-describe !>([nonce metadata])]]
:: ::
%reel-confirmation %reel-confirmation