mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fix build
This commit is contained in:
parent
68cf784f8b
commit
3a10dd64fc
@ -1652,7 +1652,7 @@ final class ChatListSearchListPaneNode: ASDisplayNode, ChatListSearchPaneNode {
|
||||
|
||||
let filteredPeer: (EnginePeer, EnginePeer) -> Bool = { peer, accountPeer in
|
||||
if let peerType = requestPeerType {
|
||||
guard !peer.isDeleted else {
|
||||
guard !peer.isDeleted && peer.id != context.account.peerId else {
|
||||
return false
|
||||
}
|
||||
switch peerType {
|
||||
|
@ -1744,7 +1744,7 @@ public final class ChatListNode: ListView {
|
||||
isEmpty = false
|
||||
return true
|
||||
case let .peerType(peerType):
|
||||
if let peer = peer.peer, !peer.isDeleted {
|
||||
if let peer = peer.peer, !peer.isDeleted && peer.id != context.account.peerId {
|
||||
switch peerType {
|
||||
case let .user(userType):
|
||||
if case let .user(user) = peer {
|
||||
|
@ -336,6 +336,7 @@ public final class EmojiSearchContent: ASDisplayNode, EntitySearchContainerNode
|
||||
}
|
||||
self.onCancel?()
|
||||
},
|
||||
onScroll: {},
|
||||
chatPeerId: nil,
|
||||
peekBehavior: nil,
|
||||
customLayout: nil,
|
||||
|
Loading…
x
Reference in New Issue
Block a user