Follow-up

This commit is contained in:
Alexander Zinchuk 2021-07-15 23:52:07 +03:00
parent a6dcc1467d
commit 426e117a92

View File

@ -833,7 +833,7 @@ class MTProtoSender {
this._reconnecting = false;
// uncomment this if you want to resend
// this._send_queue.extend(Object.values(this._pending_state))
for (const state of this._pending_state) {
for (const state of Object.values(this._pending_state)) {
state.deferred.resolve();
}
this._pending_state = {};