mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix channel audio unseen status
This commit is contained in:
parent
e00fb2df60
commit
66c1ea2e0a
@ -281,10 +281,7 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
|
||||
var consumableContentIcon: UIImage?
|
||||
for attribute in message.attributes {
|
||||
if let attribute = attribute as? ConsumableContentMessageAttribute {
|
||||
var isConsumed = attribute.consumed
|
||||
if let channel = message.peers[message.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
|
||||
isConsumed = true
|
||||
}
|
||||
let isConsumed = attribute.consumed
|
||||
if !isConsumed {
|
||||
if incoming {
|
||||
consumableContentIcon = PresentationResourcesChat.chatBubbleConsumableContentIncomingIcon(presentationData.theme.theme)
|
||||
|
Loading…
x
Reference in New Issue
Block a user