Alert app messages should be treated as text (#5878)

This commit is contained in:
Ben Meadors
2025-01-18 08:15:06 -06:00
committed by GitHub
parent b353bcc04a
commit 950341d1f9

View File

@@ -64,7 +64,8 @@ class MeshService
return true; return true;
} }
return p->decoded.portnum == meshtastic_PortNum_TEXT_MESSAGE_APP || return p->decoded.portnum == meshtastic_PortNum_TEXT_MESSAGE_APP ||
p->decoded.portnum == meshtastic_PortNum_DETECTION_SENSOR_APP; p->decoded.portnum == meshtastic_PortNum_DETECTION_SENSOR_APP ||
p->decoded.portnum == meshtastic_PortNum_ALERT_APP;
} }
/// Called when some new packets have arrived from one of the radios /// Called when some new packets have arrived from one of the radios
Observable<uint32_t> fromNumChanged; Observable<uint32_t> fromNumChanged;