2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

Add IV icon to the button.

This commit is contained in:
John Preston
2024-03-12 17:56:42 +04:00
parent 7b4adc2e60
commit d43f0be0da
9 changed files with 95 additions and 29 deletions

View File

@@ -171,6 +171,10 @@ WebPageType ParseWebPageType(
}
}
bool IgnoreIv(WebPageType type) {
return (type == WebPageType::Message);
}
WebPageType ParseWebPageType(const MTPDwebPage &page) {
return ParseWebPageType(
qs(page.vtype().value_or_empty()),