mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Codes improvements
This commit is contained in:
@@ -551,7 +551,11 @@ public final class ChatMessageAvatarHeaderNodeImpl: ListViewItemHeaderNode, Chat
|
||||
}
|
||||
|
||||
public func setPeer(context: AccountContext, theme: PresentationTheme, synchronousLoad: Bool, peer: Peer, authorOfMessage: MessageReference?, emptyColor: UIColor) {
|
||||
self.containerNode.isGestureEnabled = true
|
||||
if let messageReference = self.messageReference, let id = messageReference.id {
|
||||
self.containerNode.isGestureEnabled = !id.peerId.isVerificationCodes
|
||||
} else {
|
||||
self.containerNode.isGestureEnabled = true
|
||||
}
|
||||
|
||||
var overrideImage: AvatarNodeImageOverride?
|
||||
if peer.isDeleted {
|
||||
|
||||
Reference in New Issue
Block a user