2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Generate previews for cloud theme links.

This commit is contained in:
John Preston
2019-09-09 14:56:05 +03:00
parent 6d29dc3b36
commit ee5423762a
20 changed files with 193 additions and 80 deletions

View File

@@ -51,6 +51,9 @@ struct FileReferenceAccumulator {
if (const auto document = data.vdocument()) {
push(*document);
}
if (const auto documents = data.vdocuments()) {
push(*documents);
}
if (const auto photo = data.vphoto()) {
push(*photo);
}