chat-hook: clean up pre-OS1 subscriptions
If chats with identical resource paths were created, that would result
in chat-hook seeing updates twice.
These "/mailbox wire sub to local chat-store" subscriptions aren't
created by the current logic anymore, and as such any existing ones
should be eradicated.
|^
=/ old !<(versioned-state old-vase)
?: ?=(%1 -.old)
- [~ this(state old)]
+ :_ this(state old)
+ %+ murn ~(tap by wex.bol)
+ |= [[=wire =ship =term] *]
+ ^- (unit card)
+ ?. &(?=([%mailbox *] wire) =(our.bol ship) =(%chat-store term))
+ ~
+ `[%pass wire %agent [our.bol %chat-store] %leave ~]
:: path structure ugprade logic
::
=/ keys=(set path) (scry:cc (set path) %chat-store /keys)
