aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-21 00:37:36 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-30 02:46:41 +0200
commit78d9bd40849a39db1fbdbfc87b2c45e9d3e73d06 (patch)
treebb3898abbdaf5d11c62c5deee8debe582ace8c60 /client.h
parent8cbcb1f98f5982f56c9b3ac5b8e089b3b18cf305 (diff)
Insert JidDb into Client
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;