mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Allow clipboard access for attach menu bots.
This commit is contained in:
parent
2a5698cf34
commit
73690d14f7
1 changed files with 4 additions and 0 deletions
|
@ -1458,6 +1458,10 @@ void AttachWebView::show(
|
|||
: attached->inMainMenu
|
||||
? Button::RemoveFromMainMenu
|
||||
: Button::RemoveFromMenu);
|
||||
if (attached != end(_attachBots)
|
||||
&& (attached->inAttachMenu || attached->inMainMenu)) {
|
||||
allowClipboardRead = true;
|
||||
}
|
||||
|
||||
_lastShownUrl = url;
|
||||
_lastShownQueryId = queryId;
|
||||
|
|
Loading…
Add table
Reference in a new issue