Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit f99ec1e

Browse files
committed
Added changelogs
1 parent 8d33107 commit f99ec1e

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

app/js/lib/mtproto.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ angular.module('izhukov.mtproto', ['izhukov.utils'])
1212

1313
var dcOptions = Config.Modes.test
1414
? [
15-
{id: 1, host: '149.154.175.10', port: 80},
16-
{id: 2, host: '149.154.167.40', port: 80},
15+
{id: 1, host: '149.154.175.10', port: 80},
16+
{id: 2, host: '149.154.167.40', port: 80},
1717
{id: 3, host: '149.154.175.117', port: 80}
1818
]
1919
: [
20-
{id: 1, host: '149.154.175.50', port: 80},
21-
{id: 2, host: '149.154.167.51', port: 80},
20+
{id: 1, host: '149.154.175.50', port: 80},
21+
{id: 2, host: '149.154.167.51', port: 80},
2222
{id: 3, host: '149.154.175.100', port: 80},
23-
{id: 4, host: '149.154.167.91', port: 80},
23+
{id: 4, host: '149.154.167.91', port: 80},
2424
{id: 5, host: '149.154.171.5', port: 80}
2525
];
2626

@@ -31,7 +31,7 @@ angular.module('izhukov.mtproto', ['izhukov.utils'])
3131
var chosenServer = false,
3232
i, dcOption;
3333

34-
if (Config.Modes.ssl) {
34+
if (Config.Modes.ssl || !Config.Modes.http) {
3535
var subdomain = sslSubdomains[dcID - 1] + (upload ? '-1' : '');
3636
var path = Config.Modes.test ? 'apiw_test1' : 'apiw1';
3737
chosenServer = 'https://' + subdomain + '.web.telegram.org/' + path;

app/partials/desktop/changelog_modal.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@
3131

3232
<div class="md_modal_sections">
3333

34+
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.4.7')">
35+
<div class="md_modal_section_version">0.4.7</div>
36+
<div class="md_modal_section_description changelog_version_changes">
37+
<ul class="list-unstyled changelog_version_changes_list">
38+
<li>New bot API, free for everyone. If you're an engineer, create your own bots for games, services or integrations.
39+
</li>
40+
<li>Check out <a href="https://telegram.org/blog/bot-revolution" target="_blank">Telegram Blog</a> for more info</li>
41+
<li>Improved Stickers support: now the images are loading much faster.</li>
42+
<li>Click on the custom sticker in history to open Stickerset.</li>
43+
<li>[Mobile] Supported replies: tap on a message and select "Reply".</li>
44+
</ul>
45+
</div>
46+
</div>
47+
3448
<div class="md_modal_versioned_section_wrap" ng-if="canShowVersion('0.4.6')">
3549
<div class="md_modal_section_version">0.4.6</div>
3650
<div class="md_modal_section_description changelog_version_changes">

app/partials/mobile/changelog_modal.html

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,25 @@ <h2 class="changelog_header" my-i18n="changelog_modal_header_new_updates_md"></h
1919

2020
<div class="modal_section changelog_version_wrap">
2121
<h3 class="modal_section_header changelog_version_title">
22-
Version 0.4.6
22+
Version 0.4.7
2323
<span class="pull-right" my-i18n="changelog_modal_title_current_version"></span>
2424
</h3>
25+
<div class="modal_section_body changelog_version_changes">
26+
<ul class="list-unstyled changelog_version_changes_list">
27+
<li>New bot API, free for everyone. If you're an engineer, create your own bots for games, services or integrations.
28+
</li>
29+
<li>Check out <a href="https://telegram.org/blog/bot-revolution" target="_blank">Telegram Blog</a> for more info</li>
30+
<li>Improved Stickers support: now the images are loading much faster.</li>
31+
<li>Click on the custom sticker in history to open Stickerset.</li>
32+
<li>[Mobile] Supported replies: tap on a message and select "Reply".</li>
33+
</ul>
34+
</div>
35+
</div>
36+
37+
<div class="modal_section changelog_version_wrap">
38+
<h3 class="modal_section_header changelog_version_title">
39+
Version 0.4.6
40+
</h3>
2541
<div class="modal_section_body changelog_version_changes">
2642
<ul class="list-unstyled changelog_version_changes_list">
2743
<li>Install and share custom sticker sets like this one: <a href="tg://addstickers?set=Animals">telegram.me/addstickers/Animals</a></li>

0 commit comments

Comments
 (0)