aboutsummaryrefslogtreecommitdiff
path: root/lib/database.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-04-04 17:28:52 +0200
committerTobias Fella <fella@posteo.de>2022-04-09 15:52:11 +0200
commit42abb01516ee4d3d0fe11ffddd47c7e76d786385 (patch)
tree54279dbabd142239cd23c0d35f3c8c33ab7086c1 /lib/database.cpp
parentfc3ad90a054e3c674127a0cdd385ddbb98cf2010 (diff)
downloadlibquotient-42abb01516ee4d3d0fe11ffddd47c7e76d786385.tar.gz
libquotient-42abb01516ee4d3d0fe11ffddd47c7e76d786385.zip
Check edKey when receiving an olm message
Diffstat (limited to 'lib/database.cpp')
-rw-r--r--lib/database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/database.cpp b/lib/database.cpp
index 70dc1b9b..d719d027 100644
--- a/lib/database.cpp
+++ b/lib/database.cpp
@@ -99,6 +99,7 @@ void Database::migrateTo2()
{
qCDebug(DATABASE) << "Migrating database to version 2";
transaction();
+ //TODO remove this column again - we don't need it after all
execute(QStringLiteral("ALTER TABLE inbound_megolm_sessions ADD ed25519Key TEXT"));
execute(QStringLiteral("ALTER TABLE olm_sessions ADD lastReceived TEXT"));