From 78d9bd40849a39db1fbdbfc87b2c45e9d3e73d06 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Mon, 21 Aug 2023 00:37:36 +0200 Subject: Insert JidDb into Client --- client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client.h') 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 #include @@ -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; -- cgit v1.2.3