Skip Miniflux entries with an unknown starred state in the starred-toggle fallback for older servers, instead of toggling them blindly.

This commit is contained in:
Brent Simmons committed 2026-11-24 11:00:42 -08:00
1 parent 333e79211d
commit 95bc2680c6
1 file changed
+3 -2
@@ -370,8 +370,9 @@ private extension MinifluxAPICaller {
guard let entry = try await retrieveEntry(entryID: entryID) else {
continue // Gone server-side; nothing to update.
}
guard entry.starred != starred else {
continue // Already correct — toggling would flip it the wrong way.
// Unknown state can’t be toggled safely, and the correct state needs no toggle.
guard let entryStarred = entry.starred, entryStarred != starred else {
continue
}
try await toggleBookmark(entryID: entryID)
}