mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-05 13:22:59 -05:00
feat: tag node names when NodeInfo is received via MQTT
This commit is contained in:
@@ -649,6 +649,7 @@ class MeshService : Service(), Logging {
|
||||
Portnums.PortNum.NODEINFO_APP_VALUE ->
|
||||
if (!fromUs) {
|
||||
val u = MeshProtos.User.parseFrom(data.payload)
|
||||
.copy { if (packet.viaMqtt) longName = "$longName (MQTT)" }
|
||||
handleReceivedUser(packet.from, u, packet.channel)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user