From 24cabd479e9a20e06aab157ada89cabc2c085085 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Tue, 27 May 2025 18:39:51 -0500 Subject: [PATCH] Revert "Additionally null it out on send" This reverts commit 22a2d687237d9f49024bfb8641043cc8e99b32f0. --- src/modules/NodeInfoModule.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/NodeInfoModule.cpp b/src/modules/NodeInfoModule.cpp index 9c37c94b8..e072fcb0f 100644 --- a/src/modules/NodeInfoModule.cpp +++ b/src/modules/NodeInfoModule.cpp @@ -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) {