Commit 18c2f62
committed
fix(cnf): scoped subscribe matches peer-COMMAND envelopes (p=target), not just messages (p=to)
v1 debt 019f1184-e244: send-cmd stores the recipient under p=target (msg-cli.clj:128), but the daemon's sub-match? only matched p=to — so a --scoped subscriber never got pushed peer-commands targeted at it, silently breaking the decentralized command path under scoped subscribe. Now matches {to,target}. Verified: cmd-to-me passes, cmd-to-other doesn't; 16/16 snapshot tests green.1 parent f734605 commit 18c2f62
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
377 | 380 | | |
378 | 381 | | |
379 | 382 | | |
| |||
0 commit comments