mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: allow copying inline button links
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user