mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
Make it actually join the session
This commit is contained in:
@@ -508,7 +508,10 @@ export class CallViewModel extends ViewModel {
|
|||||||
private readonly memberships$ = fromEvent(
|
private readonly memberships$ = fromEvent(
|
||||||
this.matrixRTCSession,
|
this.matrixRTCSession,
|
||||||
MatrixRTCSessionEvent.MembershipsChanged,
|
MatrixRTCSessionEvent.MembershipsChanged,
|
||||||
).pipe(map(() => this.matrixRTCSession.memberships));
|
).pipe(
|
||||||
|
startWith(null),
|
||||||
|
map(() => this.matrixRTCSession.memberships),
|
||||||
|
);
|
||||||
|
|
||||||
private readonly foci$ = this.memberships$.pipe(
|
private readonly foci$ = this.memberships$.pipe(
|
||||||
map(
|
map(
|
||||||
@@ -1757,5 +1760,8 @@ export class CallViewModel extends ViewModel {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Join automatically
|
||||||
|
this.join(); // TODO-MULTI-SFU: Use this view model for the lobby as well, and only call this once 'join' is clicked?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user