diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-16 14:03:55 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-16 14:03:55 +0900 |
commit | f12e09ea1b45be1a96533aa83f6227940c70d548 (patch) | |
tree | 456dc7632ec81c05786bd7ac88934b49a2d4e2c3 /connection.cpp | |
parent | e8ced4bb607084a3771f853bd7dcb6a4396aef59 (diff) | |
download | libquotient-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.cpp | 2 |
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 |