2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Use temp directory for downloads in Linux sandbox by default

This commit is contained in:
Ilya Fedin
2023-01-02 17:22:21 +04:00
committed by John Preston
parent c49dac57b7
commit 7307f0b1a5
5 changed files with 10 additions and 35 deletions

View File

@@ -1057,7 +1057,7 @@ void SetupDataStorage(
if (text.isEmpty()) {
return Core::App().canReadDefaultDownloadPath(true)
? tr::lng_download_path_default(tr::now)
: tr::lng_download_path_unset(tr::now);
: tr::lng_download_path_temp(tr::now);
} else if (text == FileDialog::Tmp()) {
return tr::lng_download_path_temp(tr::now);
}