Allow clipboard access for attach menu bots.

This commit is contained in:
John Preston 2023-12-22 12:42:23 -04:00
parent 2a5698cf34
commit 73690d14f7
1 changed files with 4 additions and 0 deletions

View File

@ -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;