diff --git a/.env b/.env index 1c7b7e99..02ca0bfc 100644 --- a/.env +++ b/.env @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d3c90a2..7ee279e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/src/components/peerProfile.ts b/src/components/peerProfile.ts index 58790093..4cfd41d2 100644 --- a/src/components/peerProfile.ts +++ b/src/components/peerProfile.ts @@ -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); }; diff --git a/src/components/sidebarLeft/index.ts b/src/components/sidebarLeft/index.ts index 92cf8dc1..ce90bcb9 100644 --- a/src/components/sidebarLeft/index.ts +++ b/src/components/sidebarLeft/index.ts @@ -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); diff --git a/src/lib/appManagers/apiUpdatesManager.ts b/src/lib/appManagers/apiUpdatesManager.ts index 0ba0436c..b54c75ef 100644 --- a/src/lib/appManagers/apiUpdatesManager.ts +++ b/src/lib/appManagers/apiUpdatesManager.ts @@ -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;