mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user