call: lint/format cleanup for lotus EC wiring
CI / Build & Quality Checks (push) Successful in 10m27s
CI / Trigger Desktop Build (push) Successful in 25s

Resolve the eslint/prettier failures from the previous commit (non-blocking
in CI, but real): drop the banned `void` operator on fire-and-forget
transport.send().catch() calls, prefix the now-unused _denoiseNativeNS
param, and run prettier on the touched files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-30 01:52:45 -04:00
parent 89cf171efc
commit 36343baecc
4 changed files with 45 additions and 46 deletions
@@ -43,9 +43,7 @@ export function LotusDecorationPusher({ callEmbed }: { callEmbed: CallEmbed }):
map.current.forEach((url, userId) => {
decorations[userId] = url;
});
void callEmbed.call.transport
.send('io.lotus.decorations', { decorations })
.catch(() => undefined);
callEmbed.call.transport.send('io.lotus.decorations', { decorations }).catch(() => undefined);
}, [callEmbed]);
const schedulePush = useCallback(() => {
+2 -6
View File
@@ -350,16 +350,12 @@ export class CallControl extends EventEmitter implements CallControlState {
// DOM-poking tiles. EC's layout honors it — including surfacing the camera
// alongside a screenshare (A5) — and it's version-stable. The fork always
// acks, so the promise resolves regardless.
void this.call.transport
.send('io.lotus.focus_participant', { userId })
.catch(() => undefined);
this.call.transport.send('io.lotus.focus_participant', { userId }).catch(() => undefined);
}
/** [lotus #4] Clear any manual spotlight pin and return to speaker-follows. */
public clearFocusParticipant(): void {
void this.call.transport
.send('io.lotus.focus_participant', { userId: null })
.catch(() => undefined);
this.call.transport.send('io.lotus.focus_participant', { userId: null }).catch(() => undefined);
}
public dispose() {
+3 -1
View File
@@ -138,7 +138,9 @@ export class CallEmbed {
themeKind: ElementCallThemeKind,
denoiseMode: NoiseSuppressionMode = 'browser',
denoiseModel: string = 'rnnoise',
denoiseNativeNS: boolean = true,
// [lotus] no longer used by the in-source denoise path; kept positionally
// for callers. Prefixed with _ to satisfy no-unused-vars.
_denoiseNativeNS: boolean = true,
denoiseGate: boolean = false,
denoiseGateThreshold: number = -45,
initialAudio = true,