mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-30 16:02:08 +00:00
0c7fa18860
The apply-point clamp in changeUnreadCounter (342e270a1/fb849aa2c) guarded a pre-existing, general iOS over-decrement (markChatItemsRead decrements by the requested id count regardless of whether each item still counted) that this feature neither introduces nor worsens - Android already self-clamps in decreaseCounterInPrimaryContext, iOS never did. The pending-invitee preview's support-item unread is balanced without it (+1 on receive, -1 on read/delete). Leave iOS unread untouched here; a general clamp belongs in its own change.