diff --git a/Telegram/SourceFiles/history/history_item_components.cpp b/Telegram/SourceFiles/history/history_item_components.cpp index 87375f1d49..d44484536c 100644 --- a/Telegram/SourceFiles/history/history_item_components.cpp +++ b/Telegram/SourceFiles/history/history_item_components.cpp @@ -705,7 +705,8 @@ auto ReplyMarkupClickHandler::getUrlButton() const -> const HistoryMessageMarkupButton* { if (const auto button = getButton()) { using Type = HistoryMessageMarkupButton::Type; - if (button->type == Type::Url || button->type == Type::Auth || button->type == Type::Callback) { + if (button->type == Type::Url || button->type == Type::Auth || button->type == Type::Callback || + button->type == Type::WebView || button->type == Type::SimpleWebView) { return button; } }