Allow banning users who left the chat

This commit is contained in:
Isaac
2024-04-22 23:18:42 +04:00
parent 5a80f3f2a4
commit 924c101bef

View File

@@ -616,10 +616,6 @@ private final class AdminUserActionsSheetComponent: Component {
canBanEveryone = false
continue
}
if let banInfo = peer.participant.banInfo, !banInfo.isMember {
canBanEveryone = false
continue
}
switch peer.participant {
case .creator: