mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
attempt to fix expired key for mtproto
This commit is contained in:
parent
d08dcacfda
commit
92eaeb4c9a
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue