feat: tag node names in installNodeInfo using viaMqtt

This commit is contained in:
andrekir
2024-03-10 08:18:25 -03:00
parent 466fcc63fe
commit c3eb80bcfc

View File

@@ -1282,7 +1282,7 @@ class MeshService : Service(), Logging {
// Just replace/add any entry
updateNodeInfo(info.num) {
if (info.hasUser()) {
it.user = MeshUser(info.user)
it.user = MeshUser(info.user.copy { if (info.viaMqtt) longName = "$longName (MQTT)" })
}
if (info.hasPosition()) {