aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-25 12:26:19 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-25 13:29:36 +0900
commitd1663570003b20be58d4ce87e4b1d26bdf0029a8 (patch)
tree2ec8fe1f02ff24aaa7c5ca0ae9b3d2e644c4d5e2 /connection.cpp
parent84e183a70b831d1e18c373099988420f5050254b (diff)
downloadlibquotient-d1663570003b20be58d4ce87e4b1d26bdf0029a8.tar.gz
libquotient-d1663570003b20be58d4ce87e4b1d26bdf0029a8.zip
Room::toJson: fix invite state caching
Causes a cache version upgrade; the old cache stores the state in an incorrect place that won't be supported. Closes #159.
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp
index f498f613..efe47f86 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -551,7 +551,7 @@ void Connection::setHomeserver(const QUrl& url)
emit homeserverChanged(homeserver());
}
-static constexpr int CACHE_VERSION_MAJOR = 1;
+static constexpr int CACHE_VERSION_MAJOR = 2;
static constexpr int CACHE_VERSION_MINOR = 0;
void Connection::saveState(const QUrl &toFile) const