Fix build for sdk 5.3.10 and above -- "_get_identity" no longer exists and should not have been used in the first place

This commit is contained in:
QuentinArguillere 2024-01-25 10:22:30 +01:00
parent df2da7c774
commit 7b93ff8998

View file

@ -482,10 +482,10 @@ static UICompositeViewDescription *compositeDescription = nil;
/** start of linphone_account_creator_create_proxy_config re-implementation for accounts **/
LinphoneAuthInfo *info;
LinphoneAccountParams *accountParams = linphone_core_create_account_params(LC);
char *identity_str = _get_identity(account_creator);
LinphoneAddress *identity = linphone_address_new(identity_str);
LinphoneAddress *identity = linphone_address_new(NULL);
linphone_address_set_username(identity, linphone_account_creator_get_username(account_creator));
linphone_address_set_domain(identity, linphone_account_creator_get_domain(account_creator));
ms_free(identity_str);
char const *creatorDisplayName = linphone_account_creator_get_display_name(account_creator);
if (creatorDisplayName) {
linphone_address_set_display_name(identity, creatorDisplayName);