mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't treat empty server responses as success
This commit is contained in:
parent
6c0f91937a
commit
58f68d4817
@ -673,7 +673,7 @@ NSString *BWQuincyLocalize(NSString *stringToken) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
|
- (void)connectionDidFinishLoading:(NSURLConnection *)connection {
|
||||||
if (_statusCode >= 200 && _statusCode < 400 && _responseData != nil && [_responseData length] > 0) {
|
if (_statusCode >= 200 && _statusCode < 400 && _responseData != nil && [_responseData length] > 0) {
|
||||||
[self _cleanCrashReports];
|
[self _cleanCrashReports];
|
||||||
|
|
||||||
_feedbackRequestID = nil;
|
_feedbackRequestID = nil;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user