summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-22 14:45:57 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-22 14:45:57 +0200
commit63998a217acd4cdec6058b00f4e63d53df2b945c (patch)
treef06bd7a8a2af93865a22251ac7717667ecfd5cec /src/Cache_p.h
parentTranslated using Weblate (Estonian) (diff)
downloadnheko-63998a217acd4cdec6058b00f4e63d53df2b945c.tar.xz
Add db migration that clears the cache
This fixes spaces or stickers not showing up for old databases as well
as the wrong format of the state_keys db.
Diffstat (limited to '')
-rw-r--r--src/Cache_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h
index 8322a6af..d97eb531 100644
--- a/src/Cache_p.h
+++ b/src/Cache_p.h
@@ -692,7 +692,6 @@ private:
         std::optional<UserKeyCache> userKeys_(const std::string &user_id, lmdb::txn &txn);
 
         void setNextBatchToken(lmdb::txn &txn, const std::string &token);
-        void setNextBatchToken(lmdb::txn &txn, const QString &token);
 
         lmdb::env env_;
         lmdb::dbi syncStateDb_;