Hotfix for hangup disconnect screen (#1921)
- we cannot disconnect livekit before ending the rtcsession. Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -71,8 +71,8 @@ export async function leaveRTCSession(
|
||||
rtcSession: MatrixRTCSession,
|
||||
livekitRoom: Room | undefined,
|
||||
): Promise<void> {
|
||||
await livekitRoom?.disconnect();
|
||||
await rtcSession.leaveRoomSession();
|
||||
await livekitRoom?.disconnect();
|
||||
if (widget) {
|
||||
await widgetPostHangupProcedure(widget);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user