chat-hook: handle watch-nack for /store wires too

Similar to /backlog wires, we want to emulate %remove behavior on-nack.
This commit is contained in:
Fang 2020-03-16 15:14:05 +01:00
parent 62dfc5fd3c
commit a162ab0e73
No known key found for this signature in database
GPG Key ID: EB035760C1BBA972

View File

@ -605,7 +605,7 @@
?~ saw [~ state]
?+ wir [~ state]
[%store @ *]
[~ state(synced (~(del by synced) t.wir))]
(poke-chat-hook-action %remove t.wir)
::
[%backlog @ @ @ *]
=/ pax `path`(oust [(dec (lent t.wir)) 1] `(list @ta)`t.wir)