mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Fix empty route in account settings.
This commit is contained in:
parent
16851bdcc2
commit
8892fc2bf0
1 changed files with 3 additions and 2 deletions
|
|
@ -398,9 +398,10 @@ bool AccountSettingsModel::addOrUpdateAccount(
|
|||
accountParams->setExpires(data["registrationDuration"].toInt());
|
||||
if(data.contains("publishDuration"))
|
||||
accountParams->setPublishExpires(data["publishDuration"].toInt());
|
||||
if(data.contains("route") && data["route"].toString() != "") {
|
||||
if(data.contains("route")){
|
||||
std::list<std::shared_ptr<linphone::Address>> routes;
|
||||
routes.push_back(Utils::interpretUrl(data["route"].toString()));
|
||||
if(data["route"].toString() != "")
|
||||
routes.push_back(Utils::interpretUrl(data["route"].toString()));
|
||||
accountParams->setRoutesAddresses(routes);
|
||||
}
|
||||
QString txt = data["conferenceUri"].toString();// Var is used for debug
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue