From the settings panel, fix account creation that should based on default values.

Show sip scheme in sip identity in authentication popup.
This commit is contained in:
Julien Wadel 2022-08-26 13:51:25 +02:00
parent 8798023053
commit db18716218
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ function handleAuthenticationRequested (authInfo, realm, sipAddress, userId) {
window.attachVirtualWindow(Qt.resolvedUrl('Dialogs/AuthenticationRequest.qml'), {
authInfo: authInfo,
realm: realm,
sipAddress: sipAddress,
sipAddress: 'sip:'+sipAddress,
userId: userId,
virtualWindowHash:Qt.md5('Dialogs/AuthenticationRequest.qml'+realm+sipAddress+userId)
})

View file

@ -34,7 +34,7 @@ function initForm (account) {
gAccount = account
? account.account
: AccountSettingsModel.createAccount()
: AccountSettingsModel.createAccount('create-app-sip-account.rc')
var config = AccountSettingsModel.getAccountDescription(gAccount)