diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-28 00:20:30 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-30 02:46:41 +0200 |
| commit | d32b9e93572c5e6999a7323139de38cc1a7197cf (patch) | |
| tree | 74a5944ca2c06a72d8846d6fa48bbee1365cea9b /trust_db.h | |
| parent | e3c11fd05496bb2953e4dfe031afb1c180604d30 (diff) | |
Transfer JidDb to TrustDb
Diffstat (limited to 'trust_db.h')
| -rw-r--r-- | trust_db.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,7 @@ #ifndef TRUST_DB_H #define TRUST_DB_H +#include "jiddb.h" #include <QXmppClient.h> #include <QXmppTask.h> #include <QXmppTrustLevel.h> @@ -14,7 +15,7 @@ class TrustDb : virtual public QXmppTrustStorage { public: - TrustDb(const QString &jid); + TrustDb(const QString &jid, const JidDb &db); QXmppTask<void> setSecurityPolicy(const QString &encryption, QXmpp::TrustSecurityPolicy securityPolicy) override; @@ -64,6 +65,7 @@ public: private: const QString &jid; + const JidDb &db; QString service() const; }; |
