Merge pull request #3056 from element-hq/robin/backport-join-action

Backport "Send a 'join' action when entering the call" to v0.7
This commit is contained in:
Robin
2025-03-05 12:48:15 -05:00
committed by GitHub

View File

@@ -117,6 +117,13 @@ export async function enterRTCSession(
makeKeyDelay: matrixRtcSessionConfig?.key_rotation_on_leave_delay,
},
);
if (widget) {
try {
await widget.api.transport.send(ElementWidgetActions.JoinCall, {});
} catch (e) {
logger.error("Failed to send join action", e);
}
}
}
const widgetPostHangupProcedure = async (