fix(relay): emit participant-addressed DM discovery - #3690
Conversation
bbfa097 to
ab244a1
Compare
Signed-off-by: ScaleLeanChris <chris@scalelean.com>
ab244a1 to
5e419be
Compare
|
Reproduced this on macOS 15.6 (arm64) at head PR head: 1 passed, 0 failed (0.73s). Negative control: I reverted only Without the implementation: 1 failed, at Restoring both files and rebuilding returned it to 1 passed (0.23s). Zero Also clean on the same head: Scope and limitations: single-node local relay, not a multi-instance or mesh configuration. I set |
Summary
buzz dms listalready queriesptagdandhtags so the private-channel read gate appliesRoot cause
The CLI discovery contract existed, but the relay had no kind:41001 producer. The relay emitted kind:39000 channel metadata and membership notifications, so the conversation appeared in
buzz channels listwhilebuzz dms listreturned no conversations.Verification
block/buzzmain atda818eddc2f470c006a1073c8c5452f8a989f272cargo fmt --all -- --checkcargo check -p buzz-relay -p buzz-test-client --testscargo test -p buzz-test-client --test e2e_nostr_interop test_dm_discovery_events_emitted -- --ignored --nocapturejust ciFixes #2897
Controlling work order: BAC-109
The relay already knows every participant, so DM discovery should not end as “Return to Sender.”