* fix for reusing transient/anon contacts only
Этот коммит содержится в:
Scott Powell
2026-06-01 19:04:42 +10:00
родитель d9df8307ca
Коммит bc5d648204
3 изменённых файлов: 24 добавлений и 9 удалений
+1 -1
Просмотреть файл
@@ -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; }