From 05ea8e658649da190101803db41921efed771bee Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 23 Aug 2024 20:19:24 -0700 Subject: [PATCH] Remove saving borked position as a node info --- Meshtastic/Persistence/UpdateCoreData.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Meshtastic/Persistence/UpdateCoreData.swift b/Meshtastic/Persistence/UpdateCoreData.swift index 6f2520ee..ba96ec9a 100644 --- a/Meshtastic/Persistence/UpdateCoreData.swift +++ b/Meshtastic/Persistence/UpdateCoreData.swift @@ -384,12 +384,7 @@ func upsertPositionPacket (packet: MeshPacket, context: NSManagedObjectContext) } } } else { - - if (try? NodeInfo(serializedData: packet.decoded.payload)) != nil { - upsertNodeInfoPacket(packet: packet, context: context) - } else { - Logger.data.error("💥 Empty POSITION_APP Packet: \((try? packet.jsonString()) ?? "JSON Decode Failure", privacy: .public)") - } + Logger.data.error("💥 Empty POSITION_APP Packet: \((try? packet.jsonString()) ?? "JSON Decode Failure", privacy: .public)") } } } catch {