mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Review
https://github.com/element-hq/element-call/pull/2475#pullrequestreview-2175298702
This commit is contained in:
@@ -36,7 +36,6 @@ export function makeActiveFocus(): LivekitFocusActive {
|
||||
};
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/require-await
|
||||
async function makePreferredLivekitFoci(
|
||||
rtcSession: MatrixRTCSession,
|
||||
livekitAlias: string,
|
||||
@@ -84,8 +83,7 @@ async function makePreferredLivekitFoci(
|
||||
`No livekit_service_url is configured so we could not create a focus.
|
||||
Currently we skip computing a focus based on other users in the room.`,
|
||||
);
|
||||
|
||||
return preferredFoci;
|
||||
return Promise.resolve(preferredFoci);
|
||||
|
||||
// TODO: we want to do something like this:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user