Files
meshcore-open/lib/connector
Serge Tarkovski afcc4db405 fix: clamp cached unread totals to prevent negative badge counts
Clamp both _cachedContactsUnreadTotal and _cachedChannelsUnreadTotal
to >= 0 after decrementing in markContactRead() and markChannelRead().
This prevents the totals from going negative if the cache drifts
out-of-sync, which could cause UI badges to display incorrect values.
2026-02-18 20:37:34 +02:00
..
2026-02-04 08:32:35 -08:00