mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Send as improvements
This commit is contained in:
@@ -344,10 +344,8 @@ public extension Message {
|
||||
return false
|
||||
}
|
||||
} else if self.author?.id == accountPeerId {
|
||||
if let channel = self.peers[self.id.peerId] as? TelegramChannel, case let .broadcast(info) = channel.info {
|
||||
if !info.flags.contains(.messagesShouldHaveProfiles) {
|
||||
return true
|
||||
}
|
||||
if let channel = self.peers[self.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
} else if self.flags.contains(.Incoming) {
|
||||
|
||||
Reference in New Issue
Block a user