Remove got by on unvalidated %unsubscribe action input
=/ channel-wire=path
/channel/subscription/[channel-id]/(scot %ud subscription-id.i.requests)
::
- =/ subscriptions
- subscriptions:(~(got by session.channel-state.state) channel-id)
+ =/ usession (~(get by session.channel-state.state) channel-id)
+ ?~ usession
+ $(requests t.requests)
+ =/ subscriptions subscriptions:u.usession
::
?~ maybe-subscription=(~(get by subscriptions) channel-wire)
:: the client sent us a weird request referring to a subscription
|= channel-id=@t
^- [(list move) server-state]
::
- =/ session
- (~(got by session.channel-state.state) channel-id)
+ =/ usession=(unit channel)
+ (~(get by session.channel-state.state) channel-id)
+ ?~ usession
+ [~ state]
+ =/ session=channel u.usession
::
:_ %_ state
session.channel-state
