Merge pull request #3219 from nextcloud/bugfix/noid/fetchSignalingOnlyOnce

Avoid to fetchSignalingSettings in onMicrophoneClick
This commit is contained in:
Andy Scherzinger 2023-07-28 15:09:34 +02:00 committed by GitHub
commit 3d59041c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1050,9 +1050,6 @@ class CallActivity : CallBaseActivity() {
binding!!.microphoneButton.setImageResource(R.drawable.ic_mic_off_white_24px)
toggleMedia(false, false)
}
if (isVoiceOnlyCall && !isConnectionEstablished) {
fetchSignalingSettings()
}
if (!canPublishAudioStream) {
// In the case no audio stream will be published it's not needed to check microphone permissions
return