From 6ecc6b6f0272a47d41ce5d619eaa779a29fcf9df Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Thu, 29 Jun 2023 14:10:06 +0200 Subject: WIP OMEMO --- client.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'client.h') diff --git a/client.h b/client.h index 4d8e5ca..3991e90 100644 --- a/client.h +++ b/client.h @@ -1,15 +1,30 @@ #ifndef CLIENT_H #define CLIENT_H +#include "omemo_db.h" +#include "trust_db.h" #include #include #include +#include +#include +#include +#include +#include class Client : public QXmppClient { public: - Client(QObject *parent = nullptr); + Client(const QString &jid, QObject *parent = nullptr); QString jidBare(); + +private: + const QString jid; + TrustDb trust_db; + QXmppTrustManager trust; + QXmppPubSubManager pubsub; + OmemoDb omemo_db; + QXmppOmemoManager omemo; }; #endif -- cgit v1.2.3