Make 2nd DC the default one
This commit is contained in:
parent
575015c8b8
commit
8b71b361c4
@ -124,7 +124,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
|
|||||||
networkerPromise = mtpGetNetworker(dcID, options);
|
networkerPromise = mtpGetNetworker(dcID, options);
|
||||||
} else {
|
} else {
|
||||||
networkerPromise = Storage.get('dc').then(function (baseDcID) {
|
networkerPromise = Storage.get('dc').then(function (baseDcID) {
|
||||||
return mtpGetNetworker(dcID = baseDcID || 1, options);
|
return mtpGetNetworker(dcID = baseDcID || 2, options);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user