Fix Account_creator activate_email

This commit is contained in:
Erwan Croze 2017-04-26 09:33:19 +02:00
parent cf72d47785
commit 27a73401e8

View file

@ -817,7 +817,7 @@ LinphoneAccountCreatorStatus linphone_account_creator_activate_account_linphone(
LinphoneAccountCreatorStatus linphone_account_creator_activate_email_account_linphone(LinphoneAccountCreator *creator) {
LinphoneXmlRpcRequest *request;
if (!creator->activation_code) {
if (!creator->activation_code || !creator->username) {
if (creator->cbs->is_account_activated_response_cb != NULL) {
creator->cbs->is_account_activated_response_cb(creator, LinphoneAccountCreatorStatusMissingArguments, "Missing required parameters");
}