Follow-up

This commit is contained in:
Eduard Kuzmenko 2022-04-05 22:18:49 +03:00
parent 8ed7eea8aa
commit 881ecd6207
2 changed files with 4 additions and 4 deletions

4
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.4.1
VERSION_FULL=1.4.1 (151)
BUILD=151
VERSION_FULL=1.4.1 (152)
BUILD=152

View File

@ -1720,10 +1720,10 @@ export default class MTPNetworker {
case 33: // * msg_seqno too high
case 64: { // * invalid container
if(changedTimeOffset === undefined) {
this.applyServerTime(messageId);
changedTimeOffset = this.applyServerTime(messageId);
}
if(message.error_code === 17) {
if(message.error_code === 17 || changedTimeOffset) {
this.log('Update session');
this.updateSession();
}