Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(config) hide ui label for the recording start notification and send event (#15385)

Mihaela Dumitru68b16d7bc8d8
diff --git a/react/features/recording/actions.any.ts b/react/features/recording/actions.any.ts
index 1f8d41edbf..cbf7510cff 100644
--- a/react/features/recording/actions.any.ts
+++ b/react/features/recording/actions.any.ts
@@ -274,7 +274,6 @@ export function showStartedRecordingNotification(
if (recordingSharingUrl
&& isVpaasMeeting(state)
&& iAmRecordingInitiator
- && showRecordingLink
&& !isSavingRecordingOnDropbox(state)) {
const region = getMeetingRegion(state);
const tenant = getVpaasTenant(state);
@@ -288,15 +287,17 @@ export function showStartedRecordingNotification(
}
// add the option to copy recording link
- notifyProps.dialogProps = {
- ...notifyProps.dialogProps,
- customActionNameKey: [ 'recording.copyLink' ],
- customActionHandler: [ () => copyText(link) ],
- titleKey: 'recording.on',
- descriptionKey: 'recording.linkGenerated'
- };
-
- notifyProps.type = NOTIFICATION_TIMEOUT_TYPE.STICKY;
+ if (showRecordingLink) {
+ notifyProps.dialogProps = {
+ ...notifyProps.dialogProps,
+ customActionNameKey: [ 'recording.copyLink' ],
+ customActionHandler: [ () => copyText(link) ],
+ titleKey: 'recording.on',
+ descriptionKey: 'recording.linkGenerated'
+ };
+
+ notifyProps.type = NOTIFICATION_TIMEOUT_TYPE.STICKY;
+ }
} catch (err) {
dispatch(showErrorNotification({
titleKey: 'recording.errorFetchingLink'