caio.co/de/caca

Regen global feed on new snapshot

Id
6a63f8cbba683da5cd9f452a312ea62246be719a
Author
Caio
Commit time
2024-03-08T12:44:07+01:00

Modified caca/src/repo/mod.rs

@@ -1447,6 +1447,7
pub fn update(&mut self, state: Arc<RepoState>) -> bool {
if let Some(found) = self.inner.iter_mut().find(|r| r.name == state.name) {
found.state = state;
+ self.build_global_feed();
true
} else {
false