mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 22:22:05 +00:00
Revert "Additionally null it out on send"
This reverts commit 22a2d68723
.
This commit is contained in:
parent
dea2c3cfa8
commit
24cabd479e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user