Reset cache on breaking changes

fixes #154
This commit is contained in:
Konstantinos Sideris 2017-12-10 12:51:44 +02:00
parent bbe69a4fb6
commit d872b1060b
3 changed files with 50 additions and 1 deletions

View file

@ -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);