mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Allow clipboard access for attach menu bots.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user