Browse Source

Follow-up

master
Eduard Kuzmenko 3 years ago
parent
commit
881ecd6207
  1. 4
      .env
  2. 4
      src/lib/mtproto/networker.ts

4
.env

@ -1,5 +1,5 @@ @@ -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

4
src/lib/mtproto/networker.ts

@ -1720,10 +1720,10 @@ export default class MTPNetworker { @@ -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();
}

Loading…
Cancel
Save