receive messages publish works

This commit is contained in:
geeksville
2020-04-28 11:17:48 -07:00
parent d46d1d1c98
commit d578166fbf
2 changed files with 2 additions and 1 deletions

View File

@@ -117,7 +117,7 @@ class MeshInterface:
# we ignore the config_complete_id, it is unneeded for our stream API fromRadio.config_complete_id
pub.sendMessage("meshtastic.connection.established")
elif fromRadio.HasField("packet"):
self._handlePacketFromRadio(self, fromRadio.packet)
self._handlePacketFromRadio(fromRadio.packet)
else:
logging.warn("Unexpected FromRadio payload")