aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-16 14:03:55 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-16 14:03:55 +0900
commitf12e09ea1b45be1a96533aa83f6227940c70d548 (patch)
tree456dc7632ec81c05786bd7ac88934b49a2d4e2c3 /connection.cpp
parente8ced4bb607084a3771f853bd7dcb6a4396aef59 (diff)
downloadlibquotient-f12e09ea1b45be1a96533aa83f6227940c70d548.tar.gz
libquotient-f12e09ea1b45be1a96533aa83f6227940c70d548.zip
Require state_key to be present in all state events
This impacts the cache as well, as we don't save state_keys for most state events.
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 d15067dd..37d216d7 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -402,7 +402,7 @@ QByteArray Connection::generateTxnId()
return d->data->generateTxnId();
}
-static constexpr int CACHE_VERSION_MAJOR = 0;
+static constexpr int CACHE_VERSION_MAJOR = 1;
static constexpr int CACHE_VERSION_MINOR = 0;
void Connection::saveState(const QUrl &toFile) const