diff --git a/CHANGELOG.md b/CHANGELOG.md index 56fb290..1ac86ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.6.9] - 2026-02-18 + +### Fixed +- **bot.py**: `_on_node_updated` Signatur um `interface=None` ergänzt – + `meshtastic.node.updated` sendet `(node, interface)`, fehlender Parameter + führte zu `SenderUnknownMsgDataError` und Absturz des Node-Handlers. + ## [0.6.8] - 2026-02-18 ### Fixed diff --git a/config.yaml b/config.yaml index e309ed9..1e8d116 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,4 @@ -version: "0.6.8" +version: "0.6.9" bot: name: "MeshDD-Bot" diff --git a/meshbot/bot.py b/meshbot/bot.py index 6cb1331..f44cd05 100644 --- a/meshbot/bot.py +++ b/meshbot/bot.py @@ -193,7 +193,7 @@ class MeshBot: stats["bot_connected"] = self._connected await self.ws_manager.broadcast("stats_update", stats) - def _on_node_updated(self, node, topic=pub.AUTO_TOPIC): + def _on_node_updated(self, node, interface=None, topic=pub.AUTO_TOPIC): self.loop.call_soon_threadsafe(asyncio.ensure_future, self._handle_node_update(node)) def _on_receive(self, packet, interface, topic=pub.AUTO_TOPIC):