mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't report connection issues while handshake is active
This commit is contained in:
parent
a6009be37c
commit
38935ca811
@ -769,6 +769,9 @@ static const NSUInteger MTMaxUnacknowledgedMessageCount = 64;
|
|||||||
if (_transport != transport) {
|
if (_transport != transport) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (_useUnauthorizedMode) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (hasConnectionProblems) {
|
if (hasConnectionProblems) {
|
||||||
[_context reportTransportSchemeFailureForDatacenterId:_datacenterId transportScheme:scheme];
|
[_context reportTransportSchemeFailureForDatacenterId:_datacenterId transportScheme:scheme];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user