summaryrefslogtreecommitdiff
path: root/atm_db.cpp
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-03 15:59:29 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-03 16:26:52 +0100
commitfdb64c59865e4db76addfb8222f6421443e25240 (patch)
tree0de2bad9f758c69b7fb9ba2670653c8515a3a70d /atm_db.cpp
parent207176de48d5e44c8d3e6318b526db5d772dd008 (diff)
downloadyachat6-fdb64c59865e4db76addfb8222f6421443e25240.tar.gz
Import files from xxcc
Diffstat (limited to 'atm_db.cpp')
-rw-r--r--atm_db.cpp42
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>>());
+}