await leave rtc session (#1648)
so that the widget is only getting the hangup even, once the call has been cleaned up Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -47,7 +47,9 @@ export function enterRTCSession(rtcSession: MatrixRTCSession) {
|
||||
rtcSession.joinRoomSession([makeFocus(livekitAlias)]);
|
||||
}
|
||||
|
||||
export function leaveRTCSession(rtcSession: MatrixRTCSession) {
|
||||
export async function leaveRTCSession(
|
||||
rtcSession: MatrixRTCSession
|
||||
): Promise<void> {
|
||||
//groupCallOTelMembership?.onLeaveCall();
|
||||
rtcSession.leaveRoomSession();
|
||||
await rtcSession.leaveRoomSession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user