Matrix to Discord voice bridge.
https://matrix.to/#/%23nether-voicebridge:nether.im
- Rust 99.7%
- Shell 0.3%
Live testing surfaced a misleading log: a healthy partial send (key delivered
to a recipient's live device, their stale/offline sessions skipped for lack of
one-time keys) printed "some recipient devices unreachable — will retry" and
never logged success, reading like a failure.
KeyTransport::send_key now returns KeySendOutcome { delivered, failed } instead
of just the failure list, so the loop can tell three cases apart:
- all targeted devices keyed → INFO "ghost media key sent"
- delivered > 0, some unreachable → INFO counts (stale/offline sessions are
expected and benign); the per-device id list drops to DEBUG
- delivered == 0 → WARN "reached NO recipient devices" — the
actual alarm (e.g. the live device is out of one-time keys)
Also documents the behavior in CLAUDE.md (Path 3 implemented + live-verified
2026-06-16; the stale-device "unreachable" line is expected). Mock tests updated
for the new return type. build + clippy clean; 59 tests green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| crates | ||
| docs | ||
| scripts | ||
| .gitignore | ||
| appservice-registration.yaml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CLAUDE.md | ||
| config.example.toml | ||