diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-03 15:59:29 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-02-03 16:26:52 +0100 |
| commit | fdb64c59865e4db76addfb8222f6421443e25240 (patch) | |
| tree | 0de2bad9f758c69b7fb9ba2670653c8515a3a70d /atm_db.cpp | |
| parent | 207176de48d5e44c8d3e6318b526db5d772dd008 (diff) | |
| download | yachat6-fdb64c59865e4db76addfb8222f6421443e25240.tar.gz | |
Import files from xxcc
Diffstat (limited to 'atm_db.cpp')
| -rw-r--r-- | atm_db.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/atm_db.cpp b/atm_db.cpp new file mode 100644 index 0000000..f038959 --- /dev/null +++ b/atm_db.cpp @@ -0,0 +1,42 @@ +#include "atm_db.h" +#include <QXmppFutureUtils_p.h> + +AtmDb::AtmDb(const QString &jid, const JidDb &db) : + TrustDb(jid, db) +{} + +QXmppTask<void> AtmDb::addKeysForPostponedTrustDecisions( + const QString &encryption, const QByteArray &senderKeyId, + const QList<QXmppTrustMessageKeyOwner> &keyOwners) +{ + return QXmpp::Private::makeReadyTask(); +} + +QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions( + const QString &encryption, + const QList<QByteArray> &keyIdsForAuthentication, + const QList<QByteArray> &keyIdsForDistrusting) +{ + return QXmpp::Private::makeReadyTask(); +} + +QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions( + const QString &encryption, + const QList<QByteArray> &senderKeyIds) +{ + return QXmpp::Private::makeReadyTask(); +} + +QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions( + const QString &encryption) +{ + return QXmpp::Private::makeReadyTask(); +} + +QXmppTask<QHash<bool, QMultiHash<QString, QByteArray>>> + AtmDb::keysForPostponedTrustDecisions(const QString &encryption, + const QList<QByteArray> &senderKeyIds) +{ + return QXmpp::Private::makeReadyTask( + QHash<bool, QMultiHash<QString, QByteArray>>()); +} |
