This commit is contained in:
Eduard Kuzmenko 2022-02-22 14:47:18 +02:00
parent a29a42cd44
commit f9173e4969
5 changed files with 11 additions and 5 deletions

4
.env
View File

@ -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

View File

@ -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.

View File

@ -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);
};

View File

@ -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);

View File

@ -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;