Files
buzz/crates
klopez4212andnpub13fn4ahfnvaa2qwylvegdgeajqs0mph6v4qsw4jcqnw4mjh3hzh2quuucm5 577b7bb434 fix: address remaining review comments on dictation PR
1. P1 — Require relay membership for billable /transcribe/session even on
   open relays. Added require_relay_member() that always checks actual
   membership (with NIP-OA fallback) regardless of the
   BUZZ_REQUIRE_RELAY_MEMBERSHIP setting. Prevents arbitrary NIP-98 signers
   from minting metered OpenAI sessions on the operator's bill.

2. P2 — Keep stop control usable while recording. DictationButton now
   allows the stop action even when the composer is disabled — only
   *starting* a new recording is blocked. Additionally, useComposerDictation
   auto-stops the active session when the composer becomes disabled
   mid-recording (e.g. channel becomes read-only).

3. P2 — .expect() already removed in prior commit (openai_client() returns
   Result and propagates errors). No additional change needed.

4. P2 — Stop dictation before edit saves already addressed in prior commit
   (stopDictationRef.current() at line 540). No additional change needed.
2026-07-11 16:18:36 +01:00
..