Files
Sable/src/app
Evie Gauthier 0d87c707e0 fix(notifications): preserve thread reply counts when clamping stale main-timeline total
getUnreadNotificationCount() aggregates both the room-level counter and all
thread notification counters. The stale-clamping logic checked whether the
latest main-timeline event was already read and, if so, set total = 0 — this
inadvertently wiped out any thread reply counts that were included in the
combined total.

Fix by reading getRoomUnreadNotificationCount() (main-timeline only) to
determine the stale portion, then subtracting only that from total rather than
zeroing the whole value. Thread highlight and total counts are preserved.
2026-03-04 10:54:25 -05:00
..
2026-03-03 22:10:11 -06:00
2026-03-03 10:24:11 -06:00