mirror of
https://github.com/block/buzz.git
synced 2026-10-27 20:41:57 +00:00
`buzz users get --name`, `messages search --author <name>` and `notes --author <name>` searched kind:0 with NIP-50, which matches the whole profile JSON. Agent profiles that share a default avatar whose data contains "Wes" filled all 100 results, so `--name wes` never found Wes. All three now use the relay's POST /profiles/search, which matches only name and display_name and ranks exact names first. A relay without the endpoint answers 404 or 405, and the lookup uses the old NIP-50 search. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <loganj@squareup.com>