diff --git a/mapadroid/mitm_receiver/endpoints/ReceiveProtosEndpoint.py b/mapadroid/mitm_receiver/endpoints/ReceiveProtosEndpoint.py index 3eca3826b..4f860ba41 100644 --- a/mapadroid/mitm_receiver/endpoints/ReceiveProtosEndpoint.py +++ b/mapadroid/mitm_receiver/endpoints/ReceiveProtosEndpoint.py @@ -92,11 +92,7 @@ async def __handle_proto_data_dict(self, origin: str, data: dict) -> None: # TODO: dataclass for data passed in decoded_raw_proto: bytes = ProtoHelper.decode(data["payload"]) data["payload"] = decoded_raw_proto - await self._get_mitm_mapper().update_latest(origin, timestamp_received_raw=timestamp, - timestamp_received_receiver=time_received, - key=str(proto_type), - value=decoded_raw_proto, - location=location_of_data) + if proto_type == ProtoIdentifier.GMO.value: # TODO: Offload transformation gmo: pogoprotos.GetMapObjectsOutProto = ProtoHelper.parse(ProtoIdentifier.GMO, decoded_raw_proto)