Commit b780af0b authored by nicolas's avatar nicolas

fix(Cli): display-name are now handled when initializing a conference

parent c7db0134
......@@ -96,7 +96,12 @@ static void cliInitiateConference (QHash<QString, QString> &args) {
address->clean();
const string sipAddress = address->asString();
const string identity = core->getIdentity();
shared_ptr<linphone::ProxyConfig> proxyConfig = core->getDefaultProxyConfig();
if (!proxyConfig) {
qWarning() << QStringLiteral("Not connected to a proxy config");
return;
}
const string identity = proxyConfig->getIdentityAddress()->asStringUriOnly();
if (sipAddress != identity) {
qWarning() << QStringLiteral("Received different sip address from identity : `%1 != %2`.")
.arg(::Utils::coreStringToAppString(identity))
......
Markdown is supported
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