Browse Source

Catch missed changelog

master
morethanwords 3 years ago
parent
commit
110fd3d90d
  1. 4
      .env
  2. 2
      src/lib/appManagers/apiUpdatesManager.ts

4
.env

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=0.8.6
VERSION_FULL=0.8.6 (1)
BUILD=1
VERSION_FULL=0.8.6 (4)
BUILD=4

2
src/lib/appManagers/apiUpdatesManager.ts

@ -692,7 +692,7 @@ export class ApiUpdatesManager { @@ -692,7 +692,7 @@ export class ApiUpdatesManager {
if(newVersion) {
this.updatesState.syncLoading.then(() => {
fetch('changelogs/' + newVersion + '.md')
.then(res => res.text())
.then(res => (res.status === 200 && res.ok && res.text()) || Promise.reject())
.then(text => {
const pre = `**Telegram Web${App.suffix} was updated to version alpha ${newVersion}**\n\n`;

Loading…
Cancel
Save