aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppSendStanzaParams.h
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-05-23 15:17:12 +0200
committerLinus Jahn <lnj@kaidan.im>2022-06-18 13:07:44 +0200
commitcb1c0ac7ba16590304c8fe7bd6d87b69dffe5c67 (patch)
tree99e188cbe3bf738269d59e62d38b57217d2c80d9 /src/client/QXmppSendStanzaParams.h
parent31ef165cbbf918ba0ddd00f86c6dee257a0b936b (diff)
downloadqxmpp-cb1c0ac7ba16590304c8fe7bd6d87b69dffe5c67.tar.gz
SendStanzaParams: Add accepted trust levels
Diffstat (limited to 'src/client/QXmppSendStanzaParams.h')
-rw-r--r--src/client/QXmppSendStanzaParams.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/QXmppSendStanzaParams.h b/src/client/QXmppSendStanzaParams.h
index af22f7cf..70ef572a 100644
--- a/src/client/QXmppSendStanzaParams.h
+++ b/src/client/QXmppSendStanzaParams.h
@@ -6,6 +6,9 @@
#define QXMPPSENDSTANZAPARAMS_H
#include "QXmppGlobal.h"
+#include "QXmppTrustStorage.h"
+
+#include <optional>
#include <QSharedDataPointer>
@@ -24,6 +27,9 @@ public:
QVector<QString> encryptionJids() const;
void setEncryptionJids(QVector<QString>);
+ std::optional<QXmppTrustStorage::TrustLevels> acceptedTrustLevels() const;
+ void setAcceptedTrustLevels(std::optional<QXmppTrustStorage::TrustLevels> trustLevels);
+
private:
QSharedDataPointer<QXmppSendStanzaParamsPrivate> d;
};