Minor bugfixes
This commit is contained in:
parent
8269a59754
commit
ec5bffbf6b
@ -73,7 +73,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var wasCountry = $scope.credentials.phone_country;
|
var wasCountry = $scope.credentials.phone_country;
|
||||||
MtpApiManager.invokeApi('help.getNearestDc', {}, {dcID: 4, createNetworker: true}).then(function (nearestDcResult) {
|
MtpApiManager.invokeApi('help.getNearestDc', {}, {dcID: 2, createNetworker: true}).then(function (nearestDcResult) {
|
||||||
if (wasCountry == $scope.credentials.phone_country) {
|
if (wasCountry == $scope.credentials.phone_country) {
|
||||||
selectPhoneCountryByIso2(nearestDcResult.country);
|
selectPhoneCountryByIso2(nearestDcResult.country);
|
||||||
}
|
}
|
||||||
|
@ -437,7 +437,7 @@ angular.module('myApp.services', ['myApp.i18n'])
|
|||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
.service('AppChatsManager', function ($rootScope, $modal, MtpApiFileManager, MtpApiManager, AppUsersManager, RichTextProcessor) {
|
.service('AppChatsManager', function ($rootScope, $modal, _, MtpApiFileManager, MtpApiManager, AppUsersManager, RichTextProcessor) {
|
||||||
var chats = {},
|
var chats = {},
|
||||||
cachedPhotoLocations = {};
|
cachedPhotoLocations = {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user