mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-12 16:55:02 -04:00
Extract the 'clear unread count + cancel message notification' pair into a single suspend helper on MeshServiceNotifications so ReplyReceiver, MarkAsReadReceiver, and ReactionReceiver use one consistent code path. ReactionReceiver now also clears unread and cancels the notification once the reaction dispatch succeeds, matching the other receivers. Receivers that only depended on PacketRepository for this pair drop that injection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>