aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client.h b/client.h
index 3991e90..0a54d68 100644
--- a/client.h
+++ b/client.h
@@ -2,6 +2,7 @@
#define CLIENT_H
#include "omemo_db.h"
+#include "jiddb.h"
#include "trust_db.h"
#include <QObject>
#include <QString>
@@ -17,9 +18,12 @@ class Client : public QXmppClient
public:
Client(const QString &jid, QObject *parent = nullptr);
QString jidBare();
+ const JidDb &database() const;
+ JidDb &database();
private:
const QString jid;
+ JidDb db;
TrustDb trust_db;
QXmppTrustManager trust;
QXmppPubSubManager pubsub;