Revert "Additionally null it out on send"

This reverts commit 22a2d68723.
This commit is contained in:
Ben Meadors 2025-05-27 18:39:51 -05:00
parent dea2c3cfa8
commit 24cabd479e

View File

@ -81,11 +81,8 @@ meshtastic_MeshPacket *NodeInfoModule::allocReply()
ignoreRequest = true; // Mark it as ignored for MeshModule
return NULL;
} else {
ignoreRequest = false; // Don't ignore requests anymore
meshtastic_User u = owner; // Create a copy to avoid modifying the global owner
// Null out user.id on transmit
u.id[0] = 0;
ignoreRequest = false; // Don't ignore requests anymore
meshtastic_User &u = owner;
// Strip the public key if the user is licensed
if (u.is_licensed && u.public_key.size > 0) {