Fix assistant

Check username on proxy configuration
This commit is contained in:
Erwan Croze 2017-05-09 10:59:37 +02:00
parent 22f26ec6ff
commit c914916e66

View file

@ -359,7 +359,7 @@ private static AssistantActivity instance;
try { try {
String identity = proxyConfig.getIdentity(); String identity = proxyConfig.getIdentity();
if (identity == null) { if (identity == null || accountCreator.getUsername() == null) {
LinphoneUtils.displayErrorAlert(getString(R.string.error), this); LinphoneUtils.displayErrorAlert(getString(R.string.error), this);
return; return;
} }