mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
clay: always notify if new read says nonexistent
This commit is contained in:
parent
7e5feb4cb4
commit
bd46a367a3
@ -3491,18 +3491,14 @@
|
||||
?< |(?=(~ old-cach-value) ?=(~ new-cach-value))
|
||||
=/ new-entry=(unit (pair mood (unit (each cage lobe))))
|
||||
=/ =mood [car [%ud u.aeon.rov] pax]
|
||||
?~ u.new-cach-value
|
||||
:: if new does not exist, always notify
|
||||
::
|
||||
`[mood ~]
|
||||
?~ u.old-cach-value
|
||||
?~ u.new-cach-value
|
||||
:: not added
|
||||
::
|
||||
~
|
||||
:: added
|
||||
::
|
||||
`[mood `u.u.new-cach-value]
|
||||
?~ u.new-cach-value
|
||||
:: deleted
|
||||
::
|
||||
`[mood ~]
|
||||
?: (equivalent-data:ze u.u.new-cach-value u.u.old-cach-value)
|
||||
:: unchanged
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user