If a contact is add from a QR, it's "verified" manually

This commit is contained in:
Ben Meadors 2025-05-21 05:45:08 -05:00
parent 41c1b29d70
commit c45b710bcf

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;
info->bitfield |= NODEINFO_BITFIELD_IS_KEY_MANUALLY_VERIFIED_MASK;
updateGUIforNode = info;
powerFSM.trigger(EVENT_NODEDB_UPDATED);
notifyObservers(true); // Force an update whether or not our node counts have changed