From 0a48d8aa170808cc0946babd5e3152bde3d493ed Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Thu, 24 Dec 2020 10:52:12 +0800 Subject: [PATCH] fix nasty bug with poisoning the node table based on user updates --- meshtastic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__init__.py b/meshtastic/__init__.py index 1be42de..49ae9a6 100644 --- a/meshtastic/__init__.py +++ b/meshtastic/__init__.py @@ -514,7 +514,7 @@ class MeshInterface: n = self._getOrCreateByNum(asDict["from"]) n["user"] = u # We now have a node ID, make sure it is uptodate in that table - self.nodes[u["id"]] = u + self.nodes[u["id"]] = n logging.debug(f"Publishing topic {topic}") pub.sendMessage(topic, packet=asDict, interface=self)