Browse Source

Make 2nd DC the default one

master
Igor Zhukov 10 years ago
parent
commit
8b71b361c4
  1. 2
      app/js/lib/mtproto_wrapper.js

2
app/js/lib/mtproto_wrapper.js

@ -124,7 +124,7 @@ angular.module('izhukov.mtproto.wrapper', ['izhukov.utils', 'izhukov.mtproto']) @@ -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);
});
}

Loading…
Cancel
Save