mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
attempt to fix expired key for mtproto
This commit is contained in:
parent
d08dcacfda
commit
92eaeb4c9a
@ -250,7 +250,7 @@ static int32_t fixedTimeDifferenceValue = 0;
|
||||
_tempKeyExpiration = 24 * 60 * 60;
|
||||
|
||||
#if DEBUG
|
||||
_tempKeyExpiration = 30;
|
||||
// _tempKeyExpiration = 30;
|
||||
#endif
|
||||
|
||||
_datacenterSeedAddressSetById = [[NSMutableDictionary alloc] init];
|
||||
|
@ -2155,7 +2155,7 @@ static NSString *dumpHexString(NSData *data, int maxLength) {
|
||||
for (NSInteger i = (NSInteger)_messageServices.count - 1; i >= 0; i--)
|
||||
{
|
||||
MTBindKeyMessageService* messageService = (MTBindKeyMessageService *)_messageServices[(NSUInteger)i];
|
||||
if ([messageService respondsToSelector:@selector(complete)]) {
|
||||
if ([messageService isKindOfClass:[MTBindKeyMessageService class]]) {
|
||||
[messageService complete];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user