* contacts sync fix

* fix for reusing transient/anon contacts only
This commit is contained in:
Scott Powell committed 2026-06-01 19:04:42 +10:00
1 parent 26ce9cf733
commit e0b87d5ed3
3 files changed
+24 -9

No files matched your search

+1 -1
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; }