Remove risky change
This commit is contained in:
@@ -113,8 +113,12 @@ meshtastic_MeshPacket *NodeInfoModule::allocReply()
|
|||||||
u.public_key.size = 0;
|
u.public_key.size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear the user.id field since it should be derived from node number on the receiving end
|
// FIXME: Clear the user.id field since it should be derived from node number on the receiving end
|
||||||
u.id[0] = '\0';
|
// u.id[0] = '\0';
|
||||||
|
|
||||||
|
// Ensure our user.id is derived correctly
|
||||||
|
strcpy(u.id, nodeDB->getNodeId().c_str());
|
||||||
|
|
||||||
LOG_INFO("Send owner %s/%s/%s", u.id, u.long_name, u.short_name);
|
LOG_INFO("Send owner %s/%s/%s", u.id, u.long_name, u.short_name);
|
||||||
lastSentToMesh = millis();
|
lastSentToMesh = millis();
|
||||||
return allocDataProtobuf(u);
|
return allocDataProtobuf(u);
|
||||||
|
|||||||
Reference in New Issue
Block a user