Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(recordings) add consent dialog #15673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mihhu
Copy link
Member

@mihhu mihhu commented Feb 26, 2025

No description provided.

@mihhu mihhu force-pushed the recording-consent branch from 5c6cf47 to f758f6b Compare February 26, 2025 15:50
const { requireRecordingConsent } = getState()['features/dynamic-branding'];

if (!requireRecordingConsent
&& (recorderSession._statusFromJicofo === JitsiRecordingConstants.status.OFF
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there not better way to check? Maybe we need a helper to encapsulate these weird checks?

* @returns {void}
*/
function _showExplicitConsentDialog(recorderSession: any, dispatch: IStore['dispatch'], getState: IStore['getState']) {
const { requireRecordingConsent } = getState()['features/dynamic-branding'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No config? Sounds like something more prople might want to use?

@mihhu mihhu force-pushed the recording-consent branch from f758f6b to dc15f4f Compare February 27, 2025 13:47
@mihhu mihhu force-pushed the recording-consent branch from dc15f4f to 854dc8d Compare February 28, 2025 14:21
Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @Calinteodor can you PTAL too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants