aboutsummaryrefslogtreecommitdiff
path: root/lib/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/database.h')
-rw-r--r--lib/database.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/database.h b/lib/database.h
index 3eb26b0a..afc41e42 100644
--- a/lib/database.h
+++ b/lib/database.h
@@ -50,11 +50,15 @@ public:
QHash<QString, QStringList> devicesWithoutKey(Room* room, const QString &sessionId);
void setDevicesReceivedKey(const QString& roomId, QHash<User *, QStringList> devices, const QString& sessionId, int index);
+ bool isSessionVerified(const QString& edKey);
+ void setSessionVerified(const QString& edKeyId);
+
private:
void migrateTo1();
void migrateTo2();
void migrateTo3();
void migrateTo4();
+ void migrateTo5();
QString m_matrixId;
};