mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +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 {
|
} else {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
} else if self.author?.id == accountPeerId {
|
||||||
|
return false
|
||||||
} else if self.flags.contains(.Incoming) {
|
} else if self.flags.contains(.Incoming) {
|
||||||
return true
|
return true
|
||||||
} else if let channel = self.peers[self.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
|
} else if let channel = self.peers[self.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user