mirror of
https://github.com/meshtastic/python.git
synced 2026-01-02 12:57:56 -05:00
fix nasty bug with poisoning the node table based on user updates
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user