From d872b1060bb362d439f971fa5f9f04e1907d7410 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 10 Dec 2017 12:51:44 +0200 Subject: Reset cache on breaking changes fixes #154 --- include/Cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/Cache.h b/include/Cache.h index c16654d0..031c8b16 100644 --- a/include/Cache.h +++ b/include/Cache.h @@ -39,6 +39,9 @@ public: void removeRoom(const QString &roomid); void setup(); + bool isFormatValid(); + void setCurrentFormat(); + private: void setNextBatchToken(lmdb::txn &txn, const QString &token); void insertRoomState(lmdb::txn &txn, const QString &roomid, const RoomState &state); -- cgit 1.5.1