Fixed proxy config lime server set on upgrade wrong condition
This commit is contained in:
parent
4b975a89d4
commit
b2e904a6f9
1 changed files with 18 additions and 19 deletions
|
@ -754,10 +754,8 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
// Migrate existing linphone accounts to have conference factory uri and LIME X3Dh url set
|
||||
String uri = getString(R.string.default_conference_factory_uri);
|
||||
for (ProxyConfig lpc : mCore.getProxyConfigList()) {
|
||||
if (lpc.getConferenceFactoryUri() == null
|
||||
&& lpc.getIdentityAddress()
|
||||
.getDomain()
|
||||
.equals(getString(R.string.default_domain))) {
|
||||
if (lpc.getIdentityAddress().getDomain().equals(getString(R.string.default_domain))) {
|
||||
if (lpc.getConferenceFactoryUri() == null) {
|
||||
lpc.edit();
|
||||
Log.i(
|
||||
"[Manager] Setting conference factory on proxy config "
|
||||
|
@ -777,6 +775,7 @@ public class LinphoneManager implements CoreListener, SensorEventListener, Accou
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mServiceContext.getResources().getBoolean(R.bool.enable_push_id)) {
|
||||
initPushNotificationsService();
|
||||
|
|
Loading…
Reference in a new issue