Various fixes

This commit is contained in:
Ilya Laktyushin
2023-07-27 14:19:08 +02:00
parent 515548f62d
commit ed35300146
2 changed files with 6 additions and 1 deletions

View File

@@ -2065,6 +2065,11 @@ public class ShareWithPeersScreen: ViewControllerComponentContainer {
if peer.isService {
return false
}
if case let .user(user) = peer {
if user.botInfo != nil {
return false
}
}
if case let .channel(channel) = peer {
if channel.isForum {
return false