-
Notifications
You must be signed in to change notification settings - Fork 7k
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
base: master
Are you sure you want to change the base?
Conversation
5c6cf47
to
f758f6b
Compare
react/features/recording/components/Recording/native/RecordingConsentDialog.tsx
Outdated
Show resolved
Hide resolved
const { requireRecordingConsent } = getState()['features/dynamic-branding']; | ||
|
||
if (!requireRecordingConsent | ||
&& (recorderSession._statusFromJicofo === JitsiRecordingConstants.status.OFF |
There was a problem hiding this comment.
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']; |
There was a problem hiding this comment.
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?
f758f6b
to
dc15f4f
Compare
dc15f4f
to
854dc8d
Compare
There was a problem hiding this 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?
No description provided.