An error occurred while retrieving approval data for this merge request.
3 unresolved threads
Activity
requested review from @julienw
assigned to @SylvainBerfini
mentioned in merge request linphone-sdk!3681 (closed)
added 1 commit
- 5d70c83a - Fixed wrong param check in account creator when used with FlexiAPI backend
344 344 } 345 345 346 346 LinphoneAccountCreatorStatus linphone_account_creator_is_account_activated_flexiapi(LinphoneAccountCreator *creator) { 347 char *identity = _get_identity(creator); 348 if (!identity) { 347 if (!creator->username) { Et comme ça retourne : identity = linphone_address_as_string(addr);
On pourrait peut etre l'utiliser au lieu de construire soi-même _string(creator->username).append("@").append(get_domain(creator))
Non?
Edited by Julien Wadel
382 381 return LinphoneAccountCreatorStatusRequestFailed; 383 382 }); 384 383 385 ms_free(identity); 386 384 return LinphoneAccountCreatorStatusRequestOk; 387 385 } 388 386 389 387 LinphoneAccountCreatorStatus 390 388 linphone_account_creator_link_phone_number_with_account_flexiapi(LinphoneAccountCreator *creator) { 391 if (!creator->phone_number || !creator->username) { 389 if (!creator->phone_number) { 460 458 } 461 459 462 460 LinphoneAccountCreatorStatus linphone_account_creator_activate_phone_account_flexiapi(LinphoneAccountCreator *creator) { 463 if (!creator->phone_number || !creator->activation_code) { 461 if (!creator->username || !creator->activation_code) {