Update API

This commit is contained in:
Ilya Laktyushin
2021-11-22 21:56:34 +04:00
parent eef0891e96
commit 48cc049d7b
20 changed files with 174 additions and 56 deletions

View File

@@ -224,8 +224,6 @@ public extension Message {
return true
} else if let channel = self.peers[self.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
return true
} else if self.id.peerId.namespace == Namespaces.Peer.CloudChannel, self.author?.id != accountPeerId {
return true
} else {
return false
}