mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-09 12:49:40 +00:00
Clear the key too
This commit is contained in:
parent
d5c53a99fb
commit
dcbcb8d32c
@ -290,6 +290,8 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
|
|||||||
node->is_ignored = true;
|
node->is_ignored = true;
|
||||||
node->has_device_metrics = false;
|
node->has_device_metrics = false;
|
||||||
node->has_position = false;
|
node->has_position = false;
|
||||||
|
node->user.public_key.size = 0;
|
||||||
|
node->user.public_key.bytes[0] = 0;
|
||||||
saveChanges(SEGMENT_DEVICESTATE, false);
|
saveChanges(SEGMENT_DEVICESTATE, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user