Commit 1cb6c12a authored by QuentinArguillere's avatar QuentinArguillere
Browse files

Fix bug when checking if a password confirmation popup should appear

parent c58b9784
Pipeline #29901 passed with stage
in 4 minutes and 42 seconds
......@@ -751,7 +751,7 @@ static void linphone_iphone_popup_password_request(LinphoneCore *lc, LinphoneAut
bool foundMatchingConfig = false;
while (accountList && !foundMatchingConfig) {
LinphoneAccountParams const *accountParams = linphone_account_get_params(accountList->data);
const char * configUsername = linphone_account_params_get_identity(accountParams);
const char * configUsername = linphone_address_get_username(linphone_account_params_get_identity_address(accountParams));
const char * configDomain = linphone_account_params_get_domain(accountParams);
foundMatchingConfig = (strcmp(configUsername, usernameC) == 0) && (strcmp(configDomain, domainC) == 0);
accountList = accountList->next;
......
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