mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Don't treat outgoing messages as incoming
This commit is contained in:
parent
a90ad33209
commit
6bddf8ac47
1 changed files with 2 additions and 0 deletions
|
|
@ -287,6 +287,8 @@ public extension Message {
|
|||
} else {
|
||||
return false
|
||||
}
|
||||
} else if self.author?.id == accountPeerId {
|
||||
return false
|
||||
} else if self.flags.contains(.Incoming) {
|
||||
return true
|
||||
} else if let channel = self.peers[self.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue