mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Show IV button only if supported.
This commit is contained in:
@@ -172,7 +172,7 @@ WebPageType ParseWebPageType(
|
||||
}
|
||||
|
||||
bool IgnoreIv(WebPageType type) {
|
||||
return (type == WebPageType::Message);
|
||||
return !Iv::ShowButton() || (type == WebPageType::Message);
|
||||
}
|
||||
|
||||
WebPageType ParseWebPageType(const MTPDwebPage &page) {
|
||||
|
Reference in New Issue
Block a user