* contacts sync fix

* fix for reusing transient/anon contacts only
This commit is contained in:
Scott Powell
2026-06-01 19:04:42 +10:00
parent d9df8307ca
commit bc5d648204
3 changed files with 24 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ protected:
void bootstrapRTCfromContacts();
void resetContacts() { num_contacts = 0; }
void populateContactFromAdvert(ContactInfo& ci, const mesh::Identity& id, const AdvertDataParser& parser, uint32_t timestamp);
ContactInfo* allocateContactSlot(); // helper to find slot for new contact
ContactInfo* allocateContactSlot(bool transient_only=false); // helper to find slot for new contact
// 'UI' concepts, for sub-classes to implement
virtual bool isAutoAddEnabled() const { return true; }