mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 05:23:06 +00:00
fix(Cli): display-name are now handled when initializing a conference
This commit is contained in:
parent
c7db013481
commit
b780af0b98
1 changed files with 6 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue