mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
hark-store: bunt cache before rebuilding
Previously, rebuilding the cache in any scenario other than on-load would add missing notifications but not remove read or dismissed notifications Fixes urbit/landscape#479
This commit is contained in:
parent
8c84de618d
commit
86bc8b9444
@ -767,6 +767,8 @@
|
||||
++ inflate-cache
|
||||
|= state-4
|
||||
^+ +.state
|
||||
=. +.state
|
||||
*cache
|
||||
=/ nots=(list [p=@da =timebox:store])
|
||||
(tap:orm notifications)
|
||||
|- =* outer $
|
||||
|
Loading…
Reference in New Issue
Block a user