Update channel of node in updateUser and write to flash if needed (#3094)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
GUVWAF
2024-01-15 20:11:35 -06:00
committed by GitHub
co-authored by Ben Meadors
parent 8b362dee3a
commit fd8b1687a1
3 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ bool NodeInfoModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, mes
{
auto p = *pptr;
bool hasChanged = nodeDB.updateUser(getFrom(&mp), p);
bool hasChanged = nodeDB.updateUser(getFrom(&mp), p, mp.channel);
bool wasBroadcast = mp.to == NODENUM_BROADCAST;