Files
mc-webui/app
MarekWo cf5e95579c feat(console): accept 'direct' keyword in change_path
Setting a contact's path to Direct means 0 hops with an empty path body. The hex parser had no way to express that — empty/non-hex input always failed validation, and reset_path forces Flood instead.

Add a 'direct' keyword that bypasses hex parsing and sends an empty path with hash_size=1, producing out_path_len=0 (Direct). Update the usage block and the help entry to document it and to point at reset_path for the Flood case.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-06 21:04:59 +02:00
..