Skip to content

Commit

Permalink
fix(config) hide ui label and send event
Browse files Browse the repository at this point in the history
  • Loading branch information
mihhu committed Dec 12, 2024
1 parent 45f6550 commit 2b4ed04
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions react/features/recording/actions.any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export function showStartedRecordingNotification(
if (recordingSharingUrl
&& isVpaasMeeting(state)
&& iAmRecordingInitiator
&& showRecordingLink
&& !isSavingRecordingOnDropbox(state)) {
const region = getMeetingRegion(state);
const tenant = getVpaasTenant(state);
Expand All @@ -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'
Expand Down

0 comments on commit 2b4ed04

Please sign in to comment.