Commit b049330e2297

Vincent Demeester <vincent@sbr.pm>
2026-02-11 06:34:05
fix: fetch only unread notifications by default
Changed default fetch from all=true to all=false so done notifications do not reappear on cache reset. The --all flag still fetches everything when explicitly requested.
1 parent aa4c4ed
Changed files (1)
tools
github-notif-manager
tools/github-notif-manager/src/main.rs
@@ -168,7 +168,7 @@ fn fetch_notifications(
     };
 
     let fresh = client
-        .get_notifications(true, since.as_deref(), pb.as_ref())
+        .get_notifications(force_all, since.as_deref(), pb.as_ref())
         .context("Failed to fetch notifications")?;
 
     let fresh_count = fresh.len();