Reset dialogs
This commit is contained in:
parent
9e5a0eb2d5
commit
f23d953c5a
4
.env
4
.env
@ -1,5 +1,5 @@
|
||||
API_ID=1025907
|
||||
API_HASH=452b0359b988148995f22ff0f4229750
|
||||
VERSION=1.5.0
|
||||
VERSION_FULL=1.5.0 (178)
|
||||
BUILD=178
|
||||
VERSION_FULL=1.5.0 (179)
|
||||
BUILD=179
|
||||
|
@ -298,7 +298,7 @@ async function loadStateInner() {
|
||||
let newVersion: string, oldVersion: string;
|
||||
if(state.version !== STATE_VERSION || state.build !== BUILD/* || true */) {
|
||||
// reset filters and dialogs if version is older
|
||||
if(compareVersion(state.version, '0.8.7') === -1) {
|
||||
if(compareVersion(state.version, '0.8.7') === -1 || state.build < 179) {
|
||||
state.allDialogsLoaded = copy(STATE_INIT.allDialogsLoaded);
|
||||
state.filters = copy(STATE_INIT.filters);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user