call: lint/format cleanup for lotus EC wiring
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user