Check identity on LinphoneLogin
This commit is contained in:
parent
85f3b9ab93
commit
4409a01509
1 changed files with 4 additions and 0 deletions
|
@ -358,6 +358,10 @@ private static AssistantActivity instance;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
String identity = proxyConfig.getIdentity();
|
String identity = proxyConfig.getIdentity();
|
||||||
|
if (identity == null) {
|
||||||
|
LinphoneUtils.displayErrorAlert(getString(R.string.error), this);
|
||||||
|
return;
|
||||||
|
}
|
||||||
identity = identity.replace("?", accountCreator.getUsername());
|
identity = identity.replace("?", accountCreator.getUsername());
|
||||||
addr = LinphoneCoreFactory.instance().createLinphoneAddress(identity);
|
addr = LinphoneCoreFactory.instance().createLinphoneAddress(identity);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue