Various fixes

This commit is contained in:
Ilya Laktyushin
2024-12-12 20:41:33 +04:00
parent 9e908c9ea7
commit ad9f0d6847
14 changed files with 214 additions and 31 deletions

View File

@@ -2491,6 +2491,9 @@ final class ChatListSearchListPaneNode: ASDisplayNode, ChatListSearchPaneNode {
case let .user(userType):
if case let .user(user) = peer {
match = true
if user.id.isVerificationCodes {
match = false
}
if let isBot = userType.isBot {
if isBot != (user.botInfo != nil) {
match = false