From 4c565dd7dd78340a393ccbf4bc3bed9f6ce360f2 Mon Sep 17 00:00:00 2001 From: Melvin Keskin Date: Tue, 19 Apr 2022 20:05:16 +0200 Subject: Add QXmppTrustManager as base of trust managers such as QXmppAtmManager --- src/client/QXmppTrustStorage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/QXmppTrustStorage.h') diff --git a/src/client/QXmppTrustStorage.h b/src/client/QXmppTrustStorage.h index c1db773d..b93eae7b 100644 --- a/src/client/QXmppTrustStorage.h +++ b/src/client/QXmppTrustStorage.h @@ -53,8 +53,8 @@ public: virtual QFuture>> keys(const QString &encryption, const QList &keyOwnerJids, TrustLevels trustLevels = {}) = 0; virtual QFuture hasKey(const QString &encryption, const QString &keyOwnerJid, TrustLevels trustLevels) = 0; - virtual QFuture setTrustLevel(const QString &encryption, const QMultiHash &keyIds, TrustLevel trustLevel) = 0; - virtual QFuture setTrustLevel(const QString &encryption, const QList &keyOwnerJids, TrustLevel oldTrustLevel, TrustLevel newTrustLevel) = 0; + virtual QFuture>> setTrustLevel(const QString &encryption, const QMultiHash &keyIds, TrustLevel trustLevel) = 0; + virtual QFuture>> setTrustLevel(const QString &encryption, const QList &keyOwnerJids, TrustLevel oldTrustLevel, TrustLevel newTrustLevel) = 0; virtual QFuture trustLevel(const QString &encryption, const QString &keyOwnerJid, const QByteArray &keyId) = 0; virtual QFuture resetAll(const QString &encryption) = 0; -- cgit v1.2.3