fix nasty bug with poisoning the node table based on user updates

This commit is contained in:
Kevin Hester
2020-12-24 10:52:12 +08:00
parent 85b664c63c
commit 0a48d8aa17

View File

@@ -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)