Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modules/commands/path_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ async def execute(self, message: MeshMessage) -> bool:
path_input = " ".join(parts[1:])
response = await self._decode_path(path_input)

if not message.is_dm:
response = self.translate('commands.path.initial_source', node_id=message.sender_id) + "\n" + response

# Send the response (may be split into multiple messages if long)
await self._send_path_response(message, response)
return True
Expand Down
1 change: 1 addition & 0 deletions translations/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@
"path_prefix": "📡 Path: {path_string}",
"direct_connection": "📡 Direct connection (0 hops)",
"node_format": "{node_id}: {name}",
"initial_source": "Path from {node_id}:",
"node_unknown": "{node_id}: Unknown",
"node_collision": "{node_id}: {matches} repeaters",
"node_geographic": "{node_id}: {name} {confidence}",
Expand Down
1 change: 1 addition & 0 deletions translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
"path_prefix": "📡 Path: {path_string}",
"direct_connection": "📡 Direct connection (0 hops)",
"node_format": "{node_id}: {name}",
"initial_source": "Path from {node_id}:",
"node_unknown": "{node_id}: Unknown",
"node_collision": "{node_id}: {matches} repeaters",
"node_geographic": "{node_id}: {name} {confidence}",
Expand Down