diff --git a/Telegram/SourceFiles/iv/iv_controller.cpp b/Telegram/SourceFiles/iv/iv_controller.cpp index c73b063294..8b99e51bbc 100644 --- a/Telegram/SourceFiles/iv/iv_controller.cpp +++ b/Telegram/SourceFiles/iv/iv_controller.cpp @@ -650,6 +650,7 @@ void Controller::createWebview(const Webview::StorageId &storageId) { Webview::WindowConfig{ .opaqueBg = st::windowBg->c, .storageId = storageId, + .safe = true, }); const auto raw = _webview.get(); diff --git a/Telegram/SourceFiles/ui/controls/location_picker.cpp b/Telegram/SourceFiles/ui/controls/location_picker.cpp index 1ce682318e..08f13f9801 100644 --- a/Telegram/SourceFiles/ui/controls/location_picker.cpp +++ b/Telegram/SourceFiles/ui/controls/location_picker.cpp @@ -917,6 +917,7 @@ void LocationPicker::setupWebview() { Webview::WindowConfig{ .opaqueBg = st::windowBg->c, .storageId = _webviewStorageId, + .safe = true, }); const auto raw = _webview.get(); diff --git a/Telegram/lib_webview b/Telegram/lib_webview index eae72ff70d..c998e31342 160000 --- a/Telegram/lib_webview +++ b/Telegram/lib_webview @@ -1 +1 @@ -Subproject commit eae72ff70db2de76c344ca5ccd208c1841a67a0e +Subproject commit c998e31342f0a9c1dc2192dee35df7f9dff4bed4