From 3b8afcfaaf9cdffbdbc3e37f2cdaa216aa3ddf73 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Tue, 13 Jul 2021 19:49:44 +0200 Subject: [PATCH] Add more logging --- submodules/MtProtoKit/Sources/MTProto.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/MtProtoKit/Sources/MTProto.m b/submodules/MtProtoKit/Sources/MTProto.m index fa9cda74f5..fd0dc1ce8e 100644 --- a/submodules/MtProtoKit/Sources/MTProto.m +++ b/submodules/MtProtoKit/Sources/MTProto.m @@ -2055,7 +2055,7 @@ static NSString *dumpHexString(NSData *data, int maxLength) { [self getAuthKeyForCurrentScheme:scheme createIfNeeded:false authInfoSelector:&authInfoSelector]; if (MTLogEnabled()) { - MTLog(@"[MTProto#%p@%p missing key %lld selector %d]", self, _context, _validAuthInfo.authInfo.authKeyId, authInfoSelector); + MTLog(@"[MTProto#%p@%p missing key %lld selector %d useExplicitAuthKey: %lld, canResetAuthData: %s]", self, _context, _validAuthInfo.authInfo.authKeyId, authInfoSelector, _useExplicitAuthKey.authKeyId, _canResetAuthData ? "true" : "false"); } if (_useExplicitAuthKey != nil) {