Avoid Companion request tag collisions after login

This commit is contained in:
mikecarper committed 2026-10-05 01:47:05 -07:00
1 parent cc4bcb9cad
commit 982f96ca96
11 files changed
+106 -19

No files matched your search

+1
View File
@@ -108,6 +108,7 @@ class ContactCacheTest(unittest.TestCase):
"namespace mesh {\n" + method(mesh, "bool Mesh::sendDirect(") + "\n}\n"
+ "\n".join(method(chat, signature) for signature in (
"int BaseChatMesh::sendLogin(", "int BaseChatMesh::sendAnonReq(",
"bool BaseChatMesh::allocateRequestTag(",
"int BaseChatMesh::sendRequest(const ContactInfo& recipient, const uint8_t*",
"int BaseChatMesh::sendRequest(const ContactInfo& recipient, uint8_t"))
)