mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
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 &&
|
||||
!account->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||
setDisableMeetingsFeature(true);
|
||||
else if (getDisableMeetingsFeature() && account &&
|
||||
account->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||
setDisableMeetingsFeature(false);
|
||||
});
|
||||
auto defaultAccount = core->getDefaultAccount();
|
||||
if (!getDisableMeetingsFeature() && defaultAccount &&
|
||||
!defaultAccount->getParams()->getAudioVideoConferenceFactoryAddress())
|
||||
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
|
||||
// calibrations in call.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue