From 0a0e5e7c9fa1f1eed480b7a3d5e132789f98439d Mon Sep 17 00:00:00 2001 From: Eugene Selifonov Date: Wed, 17 Dec 2025 16:52:46 +0300 Subject: [PATCH] fix: correctly check for local or pre-db-update reaction via RSSI == 0 (#4024) --- .../org/meshtastic/feature/messaging/component/Reaction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/messaging/src/main/kotlin/org/meshtastic/feature/messaging/component/Reaction.kt b/feature/messaging/src/main/kotlin/org/meshtastic/feature/messaging/component/Reaction.kt index fdc07070d..9cb2e903a 100644 --- a/feature/messaging/src/main/kotlin/org/meshtastic/feature/messaging/component/Reaction.kt +++ b/feature/messaging/src/main/kotlin/org/meshtastic/feature/messaging/component/Reaction.kt @@ -152,7 +152,7 @@ internal fun ReactionDialog(reactions: List, onDismiss: () -> Unit = { horizontalArrangement = Arrangement.SpaceBetween, verticalAlignment = Alignment.CenterVertically, ) { - val isLocalOrPreDbUpdateReaction = (reaction.snr == 0.0f) + val isLocalOrPreDbUpdateReaction = (reaction.rssi == 0) if (!isLocalOrPreDbUpdateReaction) { if (reaction.hopsAway == 0) { Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {