* companion radio: new RESP_CODE_NO_MORE_MESSAGES response

This commit is contained in:
Scott Powell
2025-02-06 22:39:33 +11:00
parent cc0ba10cf1
commit 5395214ef2
4 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -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;