mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Don't treat outgoing messages as incoming
This commit is contained in:
parent
a90ad33209
commit
6bddf8ac47
@ -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…
x
Reference in New Issue
Block a user