mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-09-14 23:26:38 +00:00
* fix for anon lastmod
This commit is contained in:
@@ -1542,6 +1542,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
|||||||
memcpy(anon.id.pub_key, pub_key, PUB_KEY_SIZE);
|
memcpy(anon.id.pub_key, pub_key, PUB_KEY_SIZE);
|
||||||
anon.out_path_len = 0; // default to zero-hop direct
|
anon.out_path_len = 0; // default to zero-hop direct
|
||||||
anon.type = ADV_TYPE_NONE; // unknown
|
anon.type = ADV_TYPE_NONE; // unknown
|
||||||
|
anon.lastmod = getRTCClock()->getCurrentTime();
|
||||||
|
|
||||||
if (addContact(anon)) recipient = &anon;
|
if (addContact(anon)) recipient = &anon;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user