mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-21 13:12:50 +02:00
fix: allow copying inline button links
This commit is contained in:
parent
09083beed0
commit
157039946f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue