Restore LocalMembership tests

This commit is contained in:
Robin
2025-11-14 10:48:24 -05:00
parent 8ce8067956
commit da85e74596
2 changed files with 7 additions and 25 deletions

View File

@@ -22,7 +22,6 @@ import { ClientEvent, SyncState, type Room as MatrixRoom } from "matrix-js-sdk";
import {
BehaviorSubject,
combineLatest,
distinctUntilChanged,
fromEvent,
map,
type Observable,
@@ -553,7 +552,8 @@ interface EnterRTCSessionOptions {
* @param options
* @throws If the widget could not send ElementWidgetActions.JoinCall action.
*/
async function enterRTCSession(
// Exported for unit testing
export async function enterRTCSession(
rtcSession: MatrixRTCSession,
transport: LivekitTransport,
{ encryptMedia, matrixRTCMode }: EnterRTCSessionOptions,