mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Instant View: add webpage preview file in media map
This commit is contained in:
parent
d8b8793f9c
commit
2de452f166
1 changed files with 3 additions and 0 deletions
|
|
@ -855,6 +855,9 @@ func instantPageLayoutForWebPage(_ webPage: TelegramMediaWebpage, boundingWidth:
|
|||
if let image = loadedContent.image, let id = image.id {
|
||||
media[id] = image
|
||||
}
|
||||
if let video = loadedContent.file, let id = video.id {
|
||||
media[id] = video
|
||||
}
|
||||
|
||||
var mediaIndexCounter: Int = 0
|
||||
var embedIndexCounter: Int = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue