mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Star reactions
This commit is contained in:
parent
0986fc0352
commit
6e13876636
16 changed files with 377 additions and 86 deletions
|
|
@ -344,6 +344,11 @@ 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
|
||||
}
|
||||
}
|
||||
return false
|
||||
} else if self.flags.contains(.Incoming) {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue