mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Fix connection re-init in case of CONNECTION_NOT_INITED.
This commit is contained in:
@@ -1537,6 +1537,7 @@ bool Instance::Private::onErrorDefault(
|
||||
|
||||
const auto session = getSession(qAbs(dcWithShift));
|
||||
request->needsLayer = true;
|
||||
session->setConnectionNotInited();
|
||||
session->sendPrepared(request);
|
||||
return true;
|
||||
} else if (type == u"CONNECTION_LANG_CODE_INVALID"_q) {
|
||||
|
Reference in New Issue
Block a user