Make 2nd DC the default one

This commit is contained in:
Igor Zhukov 2014-08-01 23:56:54 +01:00
parent 575015c8b8
commit 8b71b361c4

View File

@ -124,7 +124,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto'])
networkerPromise = mtpGetNetworker(dcID, options);
} else {
networkerPromise = Storage.get('dc').then(function (baseDcID) {
return mtpGetNetworker(dcID = baseDcID || 1, options);
return mtpGetNetworker(dcID = baseDcID || 2, options);
});
}