Added application suffix
This commit is contained in:
parent
179366637b
commit
6a7ccbdb57
@ -7,7 +7,7 @@
|
|||||||
"start": "node --max-old-space-size=12048 node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.dev.js",
|
"start": "node --max-old-space-size=12048 node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.dev.js",
|
||||||
"start:production": "webpack-dev-server --config webpack.prod.js",
|
"start:production": "webpack-dev-server --config webpack.prod.js",
|
||||||
"serve": "npm run build; node server.js",
|
"serve": "npm run build; node server.js",
|
||||||
"build": "webpack --config webpack.prod.js",
|
"build": "npm run generate-changelog; webpack --config webpack.prod.js",
|
||||||
"build:dev": "webpack --config webpack.dev.js",
|
"build:dev": "webpack --config webpack.dev.js",
|
||||||
"test": "jest --config=jest.config.js",
|
"test": "jest --config=jest.config.js",
|
||||||
"profile": "webpack --profile --json > stats.json --config webpack.prod.js",
|
"profile": "webpack --profile --json > stats.json --config webpack.prod.js",
|
||||||
|
@ -24,6 +24,7 @@ import serverTimeManager from '../mtproto/serverTimeManager';
|
|||||||
import assumeType from '../../helpers/assumeType';
|
import assumeType from '../../helpers/assumeType';
|
||||||
import noop from '../../helpers/noop';
|
import noop from '../../helpers/noop';
|
||||||
import RichTextProcessor from '../richtextprocessor';
|
import RichTextProcessor from '../richtextprocessor';
|
||||||
|
import App from '../../config/app';
|
||||||
|
|
||||||
type UpdatesState = {
|
type UpdatesState = {
|
||||||
pendingPtsUpdates: (Update & {pts: number, pts_count: number})[],
|
pendingPtsUpdates: (Update & {pts: number, pts_count: number})[],
|
||||||
@ -689,7 +690,7 @@ export class ApiUpdatesManager {
|
|||||||
fetch('changelogs/' + newVersion + '.md')
|
fetch('changelogs/' + newVersion + '.md')
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(text => {
|
.then(text => {
|
||||||
const pre = `**Telegram was updated to version alpha ${newVersion}**\n\n`;
|
const pre = `**Telegram Web${App.suffix} was updated to version alpha ${newVersion}**\n\n`;
|
||||||
|
|
||||||
text = pre + text;
|
text = pre + text;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user