bootstrap RTC from contact.lastmod and improve slot overwrite logic

slot overwrite logic can now safely use contact.lastmod to find oldest contact for overwrite
This commit is contained in:
taco 2026-01-13 04:27:27 +11:00
parent 741564dd48
commit df6687034a
3 changed files with 18 additions and 7 deletions

View file

@ -862,6 +862,7 @@ void MyMesh::begin(bool has_display) {
resetContacts();
_store->loadContacts(this);
bootstrapRTCfromContacts();
addChannel("Public", PUBLIC_GROUP_PSK); // pre-configure Andy's public channel
_store->loadChannels(this);