Commit 44a717fe authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/components/contact/VcardModel): log contacts without sip addresses

parent b165cfea
...@@ -280,7 +280,10 @@ QVariantList VcardModel::getSipAddresses () const { ...@@ -280,7 +280,10 @@ QVariantList VcardModel::getSipAddresses () const {
shared_ptr<linphone::Address> linphoneAddress = core->createAddress(value); shared_ptr<linphone::Address> linphoneAddress = core->createAddress(value);
if (linphoneAddress) if (linphoneAddress)
list.append(::Utils::linphoneStringToQString(linphoneAddress->asStringUriOnly())); list << ::Utils::linphoneStringToQString(linphoneAddress->asStringUriOnly());
else
qWarning() << QStringLiteral("Unable to parse sip address: `%1`")
.arg(::Utils::linphoneStringToQString(value));
} }
return list; return list;
......
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