mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-10 15:12:06 +00:00
If a contact is add from a QR, it's "verified" manually
This commit is contained in:
parent
41c1b29d70
commit
c45b710bcf
@ -1518,6 +1518,7 @@ void NodeDB::addFromContact(meshtastic_SharedContact contact)
|
|||||||
info->has_user = true;
|
info->has_user = true;
|
||||||
info->user = TypeConversions::ConvertToUserLite(contact.user);
|
info->user = TypeConversions::ConvertToUserLite(contact.user);
|
||||||
info->is_favorite = true;
|
info->is_favorite = true;
|
||||||
|
info->bitfield |= NODEINFO_BITFIELD_IS_KEY_MANUALLY_VERIFIED_MASK;
|
||||||
updateGUIforNode = info;
|
updateGUIforNode = info;
|
||||||
powerFSM.trigger(EVENT_NODEDB_UPDATED);
|
powerFSM.trigger(EVENT_NODEDB_UPDATED);
|
||||||
notifyObservers(true); // Force an update whether or not our node counts have changed
|
notifyObservers(true); // Force an update whether or not our node counts have changed
|
||||||
|
Loading…
Reference in New Issue
Block a user