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

fix: requestPermission should be no-op when permission is already granted #1122

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

oliverlaz
Copy link
Member

Overview

The canRequestPermission value is irrelevant when requested permission is already granted.

Previously, there was an edge case where, a participant may have send-video permission assigned but, the call settings prohibit requesting permission. In that case, requestPermission incorrectly returned false.

@oliverlaz oliverlaz merged commit f3d9e34 into main Oct 2, 2023
12 checks passed
@oliverlaz oliverlaz deleted the permissions branch October 2, 2023 15:51
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.

2 participants