don't send messages the phone sent us back towards the phone

This commit is contained in:
Kevin Hester committed 2021-03-05 10:19:27 +08:00
1 parent 2f6034b067
commit 950b32232f
20 files changed
+87 -58

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ bool PositionPlugin::handleReceivedProtobuf(const MeshPacket &mp, const Position
perhapsSetRTC(RTCQualityFromNet, &tv);
}
nodeDB.updatePosition(mp.from, p);
nodeDB.updatePosition(getFrom(&mp), p);
return false; // Let others look at this message also if they want
}