diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-21 00:37:36 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-30 02:46:41 +0200 |
| commit | 78d9bd40849a39db1fbdbfc87b2c45e9d3e73d06 (patch) | |
| tree | bb3898abbdaf5d11c62c5deee8debe582ace8c60 /client.h | |
| parent | 8cbcb1f98f5982f56c9b3ac5b8e089b3b18cf305 (diff) | |
Insert JidDb into Client
Diffstat (limited to 'client.h')
| -rw-r--r-- | client.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |
