mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 10:32:34 +03:00
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:
parent
62dfc5fd3c
commit
a162ab0e73
@ -605,7 +605,7 @@
|
|||||||
?~ saw [~ state]
|
?~ saw [~ state]
|
||||||
?+ wir [~ state]
|
?+ wir [~ state]
|
||||||
[%store @ *]
|
[%store @ *]
|
||||||
[~ state(synced (~(del by synced) t.wir))]
|
(poke-chat-hook-action %remove t.wir)
|
||||||
::
|
::
|
||||||
[%backlog @ @ @ *]
|
[%backlog @ @ @ *]
|
||||||
=/ pax `path`(oust [(dec (lent t.wir)) 1] `(list @ta)`t.wir)
|
=/ pax `path`(oust [(dec (lent t.wir)) 1] `(list @ta)`t.wir)
|
||||||
|
Loading…
Reference in New Issue
Block a user