Skip to content

Commit

Permalink
feat: tag node names in installNodeInfo using viaMqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Mar 10, 2024
1 parent 466fcc6 commit c3eb80b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit c3eb80b

Please sign in to comment.