mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-03 21:16:35 +00:00
Fix encryption key display
This commit is contained in:
parent
8fd189a8fb
commit
770afde804
@ -581,7 +581,7 @@ func peerInfoScreenData(context: AccountContext, peerId: PeerId, strings: Presen
|
|||||||
|
|
||||||
var encryptionKeyFingerprint: SecretChatKeyFingerprint?
|
var encryptionKeyFingerprint: SecretChatKeyFingerprint?
|
||||||
if let secretChatId = secretChatId, let peerChatStateView = combinedView.views[.peerChatState(peerId: secretChatId)] as? PeerChatStateView {
|
if let secretChatId = secretChatId, let peerChatStateView = combinedView.views[.peerChatState(peerId: secretChatId)] as? PeerChatStateView {
|
||||||
if let peerChatState = peerChatStateView.chatState as? SecretChatKeyState {
|
if let peerChatState = peerChatStateView.chatState?.getLegacy() as? SecretChatState {
|
||||||
encryptionKeyFingerprint = peerChatState.keyFingerprint
|
encryptionKeyFingerprint = peerChatState.keyFingerprint
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user