diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-02 01:14:42 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-02 01:14:42 +0200 |
commit | 94690ebd4c22c8928b92c4f1723d1c6c5b798698 (patch) | |
tree | 2aceea98d5834692805c93fb818780f2b9c52418 /src/DeviceVerificationFlow.h | |
parent | Merge remote-tracking branch 'origin/master' into cross-signing (diff) | |
download | nheko-94690ebd4c22c8928b92c4f1723d1c6c5b798698.tar.xz |
Clean up verification and key cache a bit
Diffstat (limited to 'src/DeviceVerificationFlow.h')
-rw-r--r-- | src/DeviceVerificationFlow.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DeviceVerificationFlow.h b/src/DeviceVerificationFlow.h index b85cbec2..31d2facc 100644 --- a/src/DeviceVerificationFlow.h +++ b/src/DeviceVerificationFlow.h @@ -1,10 +1,12 @@ #pragma once -#include "Olm.h" +#include <QObject> + +#include <mtx/responses/crypto.hpp> +#include "CacheCryptoStructs.h" #include "MatrixClient.h" -#include "mtx/responses/crypto.hpp" -#include <QObject> +#include "Olm.h" class QTimer; @@ -71,9 +73,7 @@ public: void setSender(bool sender_); void setEventId(std::string event_id); - void callback_fn(const mtx::responses::QueryKeys &res, - mtx::http::RequestErr err, - std::string user_id); + void callback_fn(const UserKeyCache &res, mtx::http::RequestErr err, std::string user_id); nlohmann::json canonical_json; |