Skip to content
Snippets Groups Projects
Commit 861c42e3 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

fix: don't remove the daemon cache dir

Change-Id: Icde3c4f5dbb54c2ae93712434f5d08def4e3c3bb
parent 873c4c72
No related branches found
No related tags found
No related merge requests found
......@@ -154,18 +154,7 @@ UtilsAdapter::getLocalDataPath()
const QString
UtilsAdapter::getCachePath()
{
const auto cacheDir = QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
// Remove old mistaken cache dir.
// NOTE: this can be removed once we give a chance for users to upgrade.
QDir oldCacheDir(cacheDir);
oldCacheDir.cdUp();
oldCacheDir.setPath(oldCacheDir.absolutePath() + "/jami");
if (oldCacheDir.exists()) {
oldCacheDir.removeRecursively();
}
return cacheDir;
return QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
}
QString
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment