2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Don't autodownload files if sandbox prevents it.

Partially fixes #25308.
This commit is contained in:
John Preston
2022-11-08 18:24:08 +04:00
parent ab5792f59f
commit 092923fe6e
4 changed files with 9 additions and 2 deletions

View File

@@ -1118,7 +1118,7 @@ bool DocumentData::saveFromData() {
bool DocumentData::saveFromDataSilent() {
return !filepath(true).isEmpty()
|| (!Core::App().settings().askDownloadPath()
|| (Core::App().canSaveFileWithoutAskingForPath()
&& saveFromDataChecked());
}