* companion radio: new RESP_CODE_NO_MORE_MESSAGES response
This commit is contained in:
1 parent
cc0ba10cf1
commit
5395214ef2
4 files changed
+15
-9
No files matched your search
@@ -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