From f99ec1ee2d496c42f4c09142e755edeb824faefe Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 13 Jul 2015 14:04:37 +0300 Subject: [PATCH] Added changelogs --- app/js/lib/mtproto.js | 12 ++++++------ app/partials/desktop/changelog_modal.html | 14 ++++++++++++++ app/partials/mobile/changelog_modal.html | 18 +++++++++++++++++- 3 files changed, 37 insertions(+), 7 deletions(-) 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 @@
+
+
0.4.7
+
+
    +
  • New bot API, free for everyone. If you're an engineer, create your own bots for games, services or integrations. +
  • +
  • Check out Telegram Blog for more info
  • +
  • Improved Stickers support: now the images are loading much faster.
  • +
  • Click on the custom sticker in history to open Stickerset.
  • +
  • [Mobile] Supported replies: tap on a message and select "Reply".
  • +
+
+
+
0.4.6
diff --git a/app/partials/mobile/changelog_modal.html b/app/partials/mobile/changelog_modal.html index 0d2a138a..4387ed69 100644 --- a/app/partials/mobile/changelog_modal.html +++ b/app/partials/mobile/changelog_modal.html @@ -19,9 +19,25 @@ + +