mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Enable e2e encryption in scheduled conf chat rooms
This commit is contained in:
parent
d4c1387c43
commit
ed57ec1ea5
1 changed files with 3 additions and 0 deletions
|
|
@ -601,6 +601,9 @@ void ConferenceInfoCore::save() {
|
||||||
} else lCritical() << "No default account";
|
} else lCritical() << "No default account";
|
||||||
// Add text capability for chat in conf
|
// Add text capability for chat in conf
|
||||||
linphoneConf->setCapability(linphone::StreamType::Text, true);
|
linphoneConf->setCapability(linphone::StreamType::Text, true);
|
||||||
|
if (SettingsModel::getInstance()->getCreateEndToEndEncryptedMeetingsAndGroupCalls())
|
||||||
|
linphoneConf->setSecurityLevel(linphone::Conference::SecurityLevel::EndToEnd);
|
||||||
|
else linphoneConf->setSecurityLevel(linphone::Conference::SecurityLevel::PointToPoint);
|
||||||
auto confInfoModel = Utils::makeQObject_ptr<ConferenceInfoModel>(linphoneConf);
|
auto confInfoModel = Utils::makeQObject_ptr<ConferenceInfoModel>(linphoneConf);
|
||||||
auto confSchedulerModel = confInfoModel->getConferenceScheduler();
|
auto confSchedulerModel = confInfoModel->getConferenceScheduler();
|
||||||
if (!confSchedulerModel) {
|
if (!confSchedulerModel) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue