* companion: refactor of all filesystem access to new DataStore module

This commit is contained in:
Scott Powell
2025-06-06 15:30:35 +10:00
parent 93e584f758
commit 6e0b505a2a
9 changed files with 433 additions and 354 deletions

View File

@@ -699,6 +699,13 @@ int BaseChatMesh::findChannelIdx(const mesh::GroupChannel& ch) {
}
#endif
bool BaseChatMesh::getContactByIdx(uint32_t idx, ContactInfo& contact) {
if (idx >= num_contacts) return false;
contact = contacts[idx];
return true;
}
ContactsIterator BaseChatMesh::startContactsIterator() {
return ContactsIterator();
}