add text capability for chat in conf

This commit is contained in:
Gaelle Braud 2024-11-20 13:35:58 +01:00
parent 4a0ebd53ea
commit d8efaf1ac9

View file

@ -596,6 +596,8 @@ void ConferenceInfoCore::save() {
mOrganizerAddress = Utils::coreStringToAppString(accountAddress->asStringUriOnly());
} else lCritical() << "No contact address";
} else lCritical() << "No default account";
// Add text capability for chat in conf
linphoneConf->setCapability(linphone::StreamType::Text, true);
auto confInfoModel = Utils::makeQObject_ptr<ConferenceInfoModel>(linphoneConf);
auto confSchedulerModel = confInfoModel->getConferenceScheduler();
if (!confSchedulerModel) {