mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
Fixed issue with secret chats
This commit is contained in:
parent
d52ade4855
commit
5aee72ee33
1 changed files with 0 additions and 6 deletions
|
@ -4824,9 +4824,6 @@ public class MessagesController implements NotificationCenter.NotificationCenter
|
|||
}
|
||||
authKey = correctedAuth;
|
||||
}
|
||||
for (int a = 0; a < 256; a++) {
|
||||
authKey[a] = (byte)(authKey[a] ^ encryptedChat.nonce[a]);
|
||||
}
|
||||
byte[] authKeyHash = Utilities.computeSHA1(authKey);
|
||||
byte[] authKeyId = new byte[8];
|
||||
System.arraycopy(authKeyHash, authKeyHash.length - 8, authKeyId, 0, 8);
|
||||
|
@ -4918,9 +4915,6 @@ public class MessagesController implements NotificationCenter.NotificationCenter
|
|||
}
|
||||
authKey = correctedAuth;
|
||||
}
|
||||
for (int a = 0; a < 256; a++) {
|
||||
authKey[a] = (byte)(authKey[a] ^ encryptedChat.nonce[a]);
|
||||
}
|
||||
byte[] authKeyHash = Utilities.computeSHA1(authKey);
|
||||
byte[] authKeyId = new byte[8];
|
||||
System.arraycopy(authKeyHash, authKeyHash.length - 8, authKeyId, 0, 8);
|
||||
|
|
Loading…
Reference in a new issue