mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Paid media content
This commit is contained in:
@@ -2655,6 +2655,8 @@ public final class ChatHistoryListNodeImpl: ListView, ChatHistoryNode, ChatHisto
|
||||
if invoice.version != TelegramMediaInvoice.lastVersion {
|
||||
contentRequiredValidation = true
|
||||
}
|
||||
} else if let paidContent = media as? TelegramMediaPaidContent, let extendedMedia = paidContent.extendedMedia.first, case .preview = extendedMedia {
|
||||
messageIdsWithInactiveExtendedMedia.insert(message.id)
|
||||
} else if let _ = media as? TelegramMediaStory {
|
||||
storiesRequiredValidation = true
|
||||
} else if let webpage = media as? TelegramMediaWebpage, case let .Loaded(content) = webpage.content, let _ = content.story {
|
||||
|
||||
Reference in New Issue
Block a user