aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 22db8e3d..56613857 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -111,7 +111,8 @@ public:
bool cacheState = true;
bool cacheToBinary =
- SettingsGroup("libqmatrixclient").value("cache_type").toString()
+ SettingsGroup("libQuotient").get("cache_type",
+ SettingsGroup("libQMatrixClient").get<QString>("cache_type"))
!= "json";
bool lazyLoading = false;