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 GitHub Ben Meadors
parent 8b362dee3a
commit fd8b1687a1
3 changed files with 14 additions and 15 deletions
+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;