Commit 5018572
fix(badge): refresh the OS unread badge on block/unblock
The unread sum already excludes blocked chats, but nothing recounted on
the flip — the dock badge/overlay kept the blocked chat's unreads until
the next unrelated message event. Block drops them immediately; unblock
restores them, matching the mute toggle's existing pattern.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent e1b10fb commit 5018572
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
327 | 334 | | |
328 | | - | |
329 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
330 | 341 | | |
331 | 342 | | |
332 | 343 | | |
| |||
0 commit comments