From fc208a9258da783324c5ef55a3dfb98c8f048391 Mon Sep 17 00:00:00 2001 From: Russell Schmidt Date: Thu, 3 Jul 2025 12:42:46 -0500 Subject: [PATCH] Add "Traceroute Sent" to message history --- contact/message_handlers/tx_handler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contact/message_handlers/tx_handler.py b/contact/message_handlers/tx_handler.py index ac1dd19..6dafe2f 100644 --- a/contact/message_handlers/tx_handler.py +++ b/contact/message_handlers/tx_handler.py @@ -203,10 +203,14 @@ def send_traceroute() -> None: """ Sends a RouteDiscovery protobuf to the selected node. """ + + channel_id = ui_state.node_list[ui_state.selected_node] + add_new_message(channel_id, f"{config.message_prefix} Sent Traceroute", "") + r = mesh_pb2.RouteDiscovery() interface_state.interface.sendData( r, - destinationId=ui_state.node_list[ui_state.selected_node], + destinationId=channel_id, portNum=portnums_pb2.PortNum.TRACEROUTE_APP, wantResponse=True, onResponse=on_response_traceroute,