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

Send a 'join' action when entering the call
This commit is contained in:
Robin
2025-03-05 12:09:16 -05:00
committed by GitHub

View File

@@ -124,6 +124,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 (