fix: drop unsafe upstream media entries

This commit is contained in:
2026-09-24 19:39:46 +08:00
parent 8428468712
commit f08b187964
2 changed files with 7 additions and 24 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ async fn refetch(
let items: Vec<MediaItemPayload> = fetched
.media
.iter()
.map(|media| media_to_payload(media, fetched.sensitive))
.filter_map(|media| media_to_payload(media, fetched.sensitive))
.collect();
// The re-fetch may produce a fresh local file (ugoira / bsky remux): hand it
// to the same keep-alive registry the first fetch uses.