mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-26 19:25:10 +00:00
* companion radio: new RESP_CODE_NO_MORE_MESSAGES response
This commit is contained in:
@@ -309,7 +309,7 @@ ContactsIterator BaseChatMesh::startContactsIterator() {
|
||||
}
|
||||
|
||||
bool ContactsIterator::hasNext(const BaseChatMesh* mesh, ContactInfo& dest) {
|
||||
if (next_idx >= mesh->num_contacts) return false;
|
||||
if (next_idx >= mesh->getNumContacts()) return false;
|
||||
|
||||
dest = mesh->contacts[next_idx++];
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user