From 45f650c0d8b11e82d320bbe677e510fd2ad4db4c Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Tue, 18 Mar 2025 07:44:54 -0700 Subject: [PATCH] try fixing any channel change --- meshview/mqtt_store.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/meshview/mqtt_store.py b/meshview/mqtt_store.py index 809879b..4841e5a 100644 --- a/meshview/mqtt_store.py +++ b/meshview/mqtt_store.py @@ -53,7 +53,6 @@ async def process_envelope(topic, env): from_node_id=getattr(env.packet, "from"), to_node_id=env.packet.to, payload=env.packet.SerializeToString(), - # p.r. Here seems to be where the packet is imported on the Database and import time is set. import_time=datetime.datetime.now(), channel=env.channel_id, ) @@ -78,7 +77,6 @@ async def process_envelope(topic, env): hop_limit=env.packet.hop_limit, hop_start=env.packet.hop_start, topic=topic, - # p.r. Here seems to be where the packet is imported on the Database and import time is set. import_time=datetime.datetime.now(), ) session.add(seen) @@ -127,7 +125,6 @@ async def process_envelope(topic, env): hw_model=hw_model, role=role, channel=env.channel_id, - # if need to update time of last update it may be here ) session.add(node)