2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +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

@@ -53,6 +53,7 @@ enum class WebPageType : uint8 {
Livestream,
};
[[nodiscard]] WebPageType ParseWebPageType(const MTPDwebPage &type);
[[nodiscard]] bool IgnoreIv(WebPageType type);
struct WebPageCollage {
using Item = std::variant<PhotoData*, DocumentData*>;