mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* companion radio: new RESP_CODE_NO_MORE_MESSAGES response
This commit is contained in:
parent
cc0ba10cf1
commit
5395214ef2
4 changed files with 15 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue