mirror of
https://github.com/meshtastic/python.git
synced 2025-12-26 17:37:51 -05:00
Merge pull request #28 from timgunter/pubsub_node_update
Bug fix for pubsub meshtastic.node.updated not being sent
This commit is contained in:
@@ -281,6 +281,7 @@ class MeshInterface:
|
||||
self._nodesByNum[node["num"]] = node
|
||||
if "user" in node: # Some nodes might not have user/ids assigned yet
|
||||
self.nodes[node["user"]["id"]] = node
|
||||
pub.sendMessage("meshtastic.node.updated", node=node, interface=self)
|
||||
elif fromRadio.config_complete_id == MY_CONFIG_ID:
|
||||
# we ignore the config_complete_id, it is unneeded for our stream API fromRadio.config_complete_id
|
||||
self._connected()
|
||||
|
||||
Reference in New Issue
Block a user