mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Use Storage::Cache::Database for file caching.
This commit is contained in:
@@ -794,7 +794,7 @@ MainWindow::TempDirState MainWindow::localStorageState() {
|
||||
if (_clearManager && _clearManager->hasTask(Local::ClearManagerStorage)) {
|
||||
return TempDirRemoving;
|
||||
}
|
||||
return (Local::hasImages() || Local::hasStickers() || Local::hasWebFiles() || Local::hasAudios()) ? TempDirExists : TempDirEmpty;
|
||||
return TempDirEmpty;
|
||||
}
|
||||
|
||||
void MainWindow::tempDirDelete(int task) {
|
||||
|
Reference in New Issue
Block a user