Skip to content

Commit

Permalink
fix(config) hide ui label for the recording start notification and se…
Browse files Browse the repository at this point in the history
…nd event (jitsi#15385)
  • Loading branch information
mihhu authored Dec 12, 2024
1 parent 45f6550 commit 68b16d7
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 68b16d7

Please sign in to comment.