Update src/mesh/NodeDB.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ben Meadors 2025-05-21 05:51:30 -05:00 committed by GitHub
parent c45b710bcf
commit 0f9d504d1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1518,6 +1518,7 @@ void NodeDB::addFromContact(meshtastic_SharedContact contact)
info->has_user = true;
info->user = TypeConversions::ConvertToUserLite(contact.user);
info->is_favorite = true;
// Mark the node's key as manually verified to indicate trustworthiness.
info->bitfield |= NODEINFO_BITFIELD_IS_KEY_MANUALLY_VERIFIED_MASK;
updateGUIforNode = info;
powerFSM.trigger(EVENT_NODEDB_UPDATED);