diff --git a/tests/ui/views/App/MainWindow/ContactEdit.qml b/tests/ui/views/App/MainWindow/ContactEdit.qml index ee491e9df..6e8854499 100644 --- a/tests/ui/views/App/MainWindow/ContactEdit.qml +++ b/tests/ui/views/App/MainWindow/ContactEdit.qml @@ -86,6 +86,15 @@ ColumnLayout { if (!_contact) { _vcard = CoreManager.createDetachedVcardModel() + + if (sipAddress && sipAddress.length > 0) { + _vcard.addSipAddress( + Utils.startsWith(sipAddress, 'sip:') + ? sipAddress + : 'sip:' + sipAddress + ) + } + _edition = true } else { _vcard = _contact.vcard