mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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
|
: attached->inMainMenu
|
||||||
? Button::RemoveFromMainMenu
|
? Button::RemoveFromMainMenu
|
||||||
: Button::RemoveFromMenu);
|
: Button::RemoveFromMenu);
|
||||||
|
if (attached != end(_attachBots)
|
||||||
|
&& (attached->inAttachMenu || attached->inMainMenu)) {
|
||||||
|
allowClipboardRead = true;
|
||||||
|
}
|
||||||
|
|
||||||
_lastShownUrl = url;
|
_lastShownUrl = url;
|
||||||
_lastShownQueryId = queryId;
|
_lastShownQueryId = queryId;
|
||||||
|
|
Loading…
Add table
Reference in a new issue