Eduard Kuzmenko 2 years ago
parent
commit
193187cd5e
  1. 4
      .env
  2. 5
      src/lib/appManagers/appImManager.ts

4
.env

@ -1,5 +1,5 @@
API_ID=1025907 API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750 API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.5.0 VERSION=1.5.0
VERSION_FULL=1.5.0 (210) VERSION_FULL=1.5.0 (211)
BUILD=210 BUILD=211

5
src/lib/appManagers/appImManager.ts

@ -1523,9 +1523,10 @@ export class AppImManager extends EventListenerBase<{
document.body.classList.toggle(LEFT_COLUMN_ACTIVE_CLASSNAME, id === 0); document.body.classList.toggle(LEFT_COLUMN_ACTIVE_CLASSNAME, id === 0);
this.overrideHash(id > 0 ? this.chat?.peerId : undefined);
const prevTabId = this.tabId; const prevTabId = this.tabId;
if(prevTabId !== -1) {
this.overrideHash(id > 0 ? this.chat?.peerId : undefined);
}
this.log('selectTab', id, prevTabId); this.log('selectTab', id, prevTabId);

Loading…
Cancel
Save