1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-25 21:12:56 +03:00

hark-store: fix mark channel as read issue

Addresses root cause of 
This commit is contained in:
Liam Fitzgerald 2021-01-11 16:34:20 +10:00
parent 8fe8cfd29e
commit 1529113d6f
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -384,7 +384,6 @@
(give %archive time index)
::
:: if we detect cache inconsistencies, wipe and rebuild
:: TODO: where are these coming from?
++ change-read-status
|= [time=@da =index:store read=?]
^+ poke-core
@ -491,6 +490,10 @@
poke-core
?. (stats-index-is-index:store stats-index i.keys)
$(keys t.keys)
=/ =notification:store
(~(got by (gut-orm notifications time)) i.keys)
?: read.notification
$(keys t.keys)
=/ core
(read-note time i.keys)
$(poke-core core, keys t.keys)