max / goingson
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
- Claude-Session
- https://claude.ai/code/session_01DwpiantpUgohzML4xr6KeQ
1 file changed,
+8 insertions,
-1 deletion
| @@ -503,7 +503,14 @@ | |||
| 503 | 503 | /// preference. A [`Kind`](quasi_notifs::Kind) carries one | |
| 504 | 504 | /// [`Posture`](quasi_notifs::Posture) for the whole app, so declaring it would | |
| 505 | 505 | /// put a second, global switch over four accounts' worth of per-account | |
| 506 | - | /// answers. Filed against quasi rather than worked around here. | |
| 506 | + | /// answers. | |
| 507 | + | /// | |
| 508 | + | /// That is settled rather than pending: a per-row switch is the app's own, and | |
| 509 | + | /// the `quasi_notifs` crate header carries the rule and what it costs. The cost | |
| 510 | + | /// here is that this path skips the outbox, so duplicate suppression and | |
| 511 | + | /// catch-up do not cover it. For "New Mail" neither is a loss: two sync cycles | |
| 512 | + | /// that both save mail are two notifications a reader wants, and a restart | |
| 513 | + | /// syncs and produces fresh mail anyway. | |
| 507 | 514 | pub fn send_notification(app: &tauri::AppHandle, title: &str, body: &str) { | |
| 508 | 515 | debug!(title, body, "Sending notification"); | |
| 509 | 516 | if let Err(e) = app.notification().builder().title(title).body(body).show() { |