mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
fix(Cli): check correctly sip address in cliInitiateConference
This commit is contained in:
parent
060702e3ed
commit
cc456daf29
1 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,11 @@ static void cliInitiateConference (QHash<QString, QString> &args) {
|
|||
// Check identity.
|
||||
{
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(::Utils::appStringToCoreString(args["sip-address"]));
|
||||
if (!address) {
|
||||
qWarning() << QStringLiteral("Unable to parse invalid sip address.");
|
||||
return;
|
||||
}
|
||||
|
||||
address->clean();
|
||||
|
||||
const string sipAddress = address->asString();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue