attempt to fix contacts persistency error bug

This commit is contained in:
pelgraine
2026-03-03 22:38:40 +11:00
parent e2a04892f4
commit 3a6673edea

View File

@@ -1401,6 +1401,7 @@ void MyMesh::handleCmdFrame(size_t len) {
}
} else if (cmd_frame[0] == CMD_IMPORT_CONTACT && len > 2 + 32 + 64) {
if (importContact(&cmd_frame[1], len - 1)) {
dirty_contacts_expiry = futureMillis(LAZY_CONTACTS_WRITE_DELAY);
writeOKFrame();
} else {
writeErrFrame(ERR_CODE_ILLEGAL_ARG);