From 64d096d3f8cdf93216ab138ea0378ae60a19b7d2 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 11 Aug 2019 12:33:52 +0900 Subject: Connection: check for cache_type setting in libQuotient group The fallback to libQMatrixClient still remains. --- lib/connection.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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("cache_type")) != "json"; bool lazyLoading = false; -- cgit v1.2.3