Browse Source

1.2.0

master
Eduard Kuzmenko 2 years ago
parent
commit
f9173e4969
  1. 4
      .env
  2. 6
      CHANGELOG.md
  3. 2
      src/components/peerProfile.ts
  4. 2
      src/components/sidebarLeft/index.ts
  5. 2
      src/lib/appManagers/apiUpdatesManager.ts

4
.env

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.1.1
VERSION_FULL=1.1.1 (106)
BUILD=106
VERSION_FULL=1.1.1 (107)
BUILD=107

6
CHANGELOG.md

@ -1,3 +1,9 @@ @@ -1,3 +1,9 @@
### 1.2.0 (107)
New:
* Redesigned Profiles – enjoy new enhanced profile view.
* Anonymous Posting in Public Groups – tap the profile picture next to the message bar and choose one of your channels – the messages you send after that will appear with the name and photo of the channel instead of your personal account.
* Better navigation between folders – get back to the main folder by pressing the Escape button.
### 1.1.1 (106)
* Better Reactions: new look, bug fixes for Safari, improved animations.
* Auto-Download Settings became more detailed: you can now toggle auto-download by media type.

2
src/components/peerProfile.ts

@ -233,7 +233,7 @@ export default class PeerProfile { @@ -233,7 +233,7 @@ export default class PeerProfile {
public setPeerStatus = (needClear = false) => {
const peerId = this.peerId;
if(!peerId || rootScope.myId === peerId) return;
if(!peerId || (rootScope.myId === peerId && this.isDialog)) return;
appImManager.setPeerStatus(this.peerId, this.subtitle, needClear, true, () => peerId === this.peerId, !this.isDialog);
};

2
src/components/sidebarLeft/index.ts

@ -241,7 +241,7 @@ export class AppSidebarLeft extends SidebarSlider { @@ -241,7 +241,7 @@ export class AppSidebarLeft extends SidebarSlider {
});
const t = document.createElement('span');
t.classList.add('btn-menu-footer-text');
t.innerHTML = 'Telegram Web' + App.suffix + ' alpha ' + App.versionFull;
t.innerHTML = 'Telegram Web' + App.suffix + ' '/* ' alpha ' */ + App.versionFull;
btnMenuFooter.append(t);
btnMenu.classList.add('has-footer');
btnMenu.append(btnMenuFooter);

2
src/lib/appManagers/apiUpdatesManager.ts

@ -692,7 +692,7 @@ export class ApiUpdatesManager { @@ -692,7 +692,7 @@ export class ApiUpdatesManager {
fetch('changelogs/' + newVersion.split(' ')[0] + '.md')
.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`;
const pre = `**Telegram Web${App.suffix} was updated to version ${newVersion}**\n\n`;
text = pre + text;

Loading…
Cancel
Save