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:
@@ -1118,7 +1118,7 @@ bool DocumentData::saveFromData() {
|
||||
|
||||
bool DocumentData::saveFromDataSilent() {
|
||||
return !filepath(true).isEmpty()
|
||||
|| (!Core::App().settings().askDownloadPath()
|
||||
|| (Core::App().canSaveFileWithoutAskingForPath()
|
||||
&& saveFromDataChecked());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user