Merge pull request #3055 from element-hq/robin/join-action
Send a 'join' action when entering the call
This commit is contained in:
@@ -124,6 +124,13 @@ export async function enterRTCSession(
|
|||||||
makeKeyDelay: matrixRtcSessionConfig?.key_rotation_on_leave_delay,
|
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 (
|
const widgetPostHangupProcedure = async (
|
||||||
|
|||||||
Reference in New Issue
Block a user