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
......@@ -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]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment