fix update disable meetings feature setting when default account changes #LINQT-2334
This commit is contained in:
parent
1a69b68456
commit
b19420afa9
1 changed files with 6 additions and 0 deletions
|
|
@ -76,11 +76,17 @@ SettingsModel::SettingsModel() {
|
||||||
if (!getDisableMeetingsFeature() && account &&
|
if (!getDisableMeetingsFeature() && account &&
|
||||||
!account->getParams()->getAudioVideoConferenceFactoryAddress())
|
!account->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||||
setDisableMeetingsFeature(true);
|
setDisableMeetingsFeature(true);
|
||||||
|
else if (getDisableMeetingsFeature() && account &&
|
||||||
|
account->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||||
|
setDisableMeetingsFeature(false);
|
||||||
});
|
});
|
||||||
auto defaultAccount = core->getDefaultAccount();
|
auto defaultAccount = core->getDefaultAccount();
|
||||||
if (!getDisableMeetingsFeature() && defaultAccount &&
|
if (!getDisableMeetingsFeature() && defaultAccount &&
|
||||||
!defaultAccount->getParams()->getAudioVideoConferenceFactoryAddress())
|
!defaultAccount->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||||
setDisableMeetingsFeature(true);
|
setDisableMeetingsFeature(true);
|
||||||
|
else if (getDisableMeetingsFeature() && defaultAccount &&
|
||||||
|
defaultAccount->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||||
|
setDisableMeetingsFeature(false);
|
||||||
|
|
||||||
// Media cards must not be used twice (capture card + call) else we will get latencies issues and bad echo
|
// Media cards must not be used twice (capture card + call) else we will get latencies issues and bad echo
|
||||||
// calibrations in call.
|
// calibrations in call.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue