mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fixed media thumbnail not appearing immediately after upload started
Fixed instant video automatic download Fixed Passport document recognition for uploaded scans
This commit is contained in:
@@ -287,6 +287,23 @@ static int callControllerNetworkTypeForType(OngoingCallNetworkType type) {
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *)debugInfo {
|
||||
if (_controller != nil) {
|
||||
auto rawDebugString = _controller->GetDebugString();
|
||||
return [NSString stringWithUTF8String:rawDebugString.c_str()];
|
||||
} else {
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *)version {
|
||||
if (_controller != nil) {
|
||||
return [NSString stringWithUTF8String:_controller->GetVersion()];
|
||||
} else {
|
||||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)controllerStateChanged:(int)state {
|
||||
OngoingCallState callState = OngoingCallStateInitializing;
|
||||
switch (state) {
|
||||
|
||||
Reference in New Issue
Block a user