diff --git a/app/js/lib/mtproto.js b/app/js/lib/mtproto.js index 879406cd..3f79d019 100644 --- a/app/js/lib/mtproto.js +++ b/app/js/lib/mtproto.js @@ -12,15 +12,15 @@ angular.module('izhukov.mtproto', ['izhukov.utils']) var dcOptions = Config.Modes.test ? [ - {id: 1, host: '149.154.175.10', port: 80}, - {id: 2, host: '149.154.167.40', port: 80}, + {id: 1, host: '149.154.175.10', port: 80}, + {id: 2, host: '149.154.167.40', port: 80}, {id: 3, host: '149.154.175.117', port: 80} ] : [ - {id: 1, host: '149.154.175.50', port: 80}, - {id: 2, host: '149.154.167.51', port: 80}, + {id: 1, host: '149.154.175.50', port: 80}, + {id: 2, host: '149.154.167.51', port: 80}, {id: 3, host: '149.154.175.100', port: 80}, - {id: 4, host: '149.154.167.91', port: 80}, + {id: 4, host: '149.154.167.91', port: 80}, {id: 5, host: '149.154.171.5', port: 80} ]; @@ -31,7 +31,7 @@ angular.module('izhukov.mtproto', ['izhukov.utils']) var chosenServer = false, i, dcOption; - if (Config.Modes.ssl) { + if (Config.Modes.ssl || !Config.Modes.http) { var subdomain = sslSubdomains[dcID - 1] + (upload ? '-1' : ''); var path = Config.Modes.test ? 'apiw_test1' : 'apiw1'; chosenServer = 'https://' + subdomain + '.web.telegram.org/' + path; diff --git a/app/partials/desktop/changelog_modal.html b/app/partials/desktop/changelog_modal.html index c7c913b8..55336266 100644 --- a/app/partials/desktop/changelog_modal.html +++ b/app/partials/desktop/changelog_modal.html @@ -31,6 +31,20 @@