Remove phone nodenum warning and empty else clause (#3756)

This commit is contained in:
Ben Meadors 2024-05-01 08:27:43 -05:00 committed by GitHub
parent 57da37cfbc
commit ec92f7a5a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,10 +193,7 @@ void MeshService::handleToRadio(meshtastic_MeshPacket &p)
}
#endif
if (p.from != 0) { // We don't let phones assign nodenums to their sent messages
LOG_WARN("phone tried to pick a nodenum, we don't allow that.\n");
p.from = 0;
} else {
// p.from = nodeDB->getNodeNum();
}
if (p.id == 0)