aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-04-08 23:23:07 +0200
committerTobias Fella <fella@posteo.de>2022-04-09 15:52:11 +0200
commit5c93193508a49b79a92fd0d80cf4db14f1d0762e (patch)
tree44e4d602e248af8fce8b9c2e19bacd187f19e31e /lib/connection.h
parent42abb01516ee4d3d0fe11ffddd47c7e76d786385 (diff)
downloadlibquotient-5c93193508a49b79a92fd0d80cf4db14f1d0762e.tar.gz
libquotient-5c93193508a49b79a92fd0d80cf4db14f1d0762e.zip
Make sure devices are known before decrypting olm messages
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index a4986b06..9f23902b 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -684,6 +684,7 @@ public Q_SLOTS:
QStringList devicesForUser(User* user) const;
QString curveKeyForUserDevice(const QString &user, const QString& device) const;
QString edKeyForUserDevice(const QString& user, const QString& device) const;
+ bool isKnownCurveKey(const QString& user, const QString& curveKey);
#endif
Q_SIGNALS:
/// \brief Initial server resolution has failed
@@ -841,6 +842,7 @@ Q_SIGNALS:
void cacheStateChanged();
void lazyLoadingChanged();
void turnServersChanged(const QJsonObject& servers);
+ void devicesListLoaded();
protected:
/**