mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Generate previews for cloud theme links.
This commit is contained in:
@@ -139,6 +139,8 @@ WebPageType ParseWebPageType(const MTPDwebPage &page) {
|
||||
return WebPageType::Profile;
|
||||
} else if (type == qstr("telegram_background")) {
|
||||
return WebPageType::WallPaper;
|
||||
} else if (type == qstr("telegram_theme")) {
|
||||
return WebPageType::Theme;
|
||||
} else if (page.vcached_page()) {
|
||||
return WebPageType::ArticleWithIV;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user