Fix build

This commit is contained in:
Ilya Laktyushin
2023-01-23 16:08:59 +04:00
parent 68cf784f8b
commit 3a10dd64fc
3 changed files with 3 additions and 2 deletions

View File

@@ -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 {