Skip to content
Snippets Groups Projects
Unverified Commit f42ae4a2 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

account: use DISPLAYNAME instead of alias

Change-Id: I8290f38c81ecaf55a5d0d477c844a925ad9a2685
parent c143aa1d
No related branches found
No related tags found
No related merge requests found
......@@ -629,7 +629,7 @@ account::Info::fromDetails(const MapStringString& details)
if (details[ConfProperties::TYPE] != "")
profileInfo.type = details[ConfProperties::TYPE] == QString(ProtocolNames::RING) ? profile::Type::RING : profile::Type::SIP;
registeredName = profileInfo.type == profile::Type::RING ? volatileDetails[VolatileProperties::REGISTERED_NAME].toStdString() : "";
profileInfo.alias = toStdString(details[ConfProperties::ALIAS]);
profileInfo.alias = toStdString(details[ConfProperties::DISPLAYNAME]);
enabled = toBool(details[ConfProperties::ENABLED]);
confProperties.mailbox = toStdString(details[ConfProperties::MAILBOX]);
confProperties.dtmfType = toStdString(details[ConfProperties::DTMF_TYPE]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment