mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Don't display deleted users in channel member search
This commit is contained in:
@@ -640,6 +640,10 @@ final class ChannelMembersSearchContainerNode: SearchDisplayControllerContentNod
|
||||
var index = 0
|
||||
|
||||
for participant in foundGroupMembers {
|
||||
if participant.peer.isDeleted {
|
||||
continue
|
||||
}
|
||||
|
||||
if !existingPeerIds.contains(participant.peer.id) {
|
||||
existingPeerIds.insert(participant.peer.id)
|
||||
let section: ChannelMembersSearchSection
|
||||
|
||||
Reference in New Issue
Block a user