diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-07 23:03:14 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-08 00:20:12 +0200 |
commit | 7b6fab33731e369a860ab217709190e9457d6d76 (patch) | |
tree | 75d0cfb1e4b35e1f2dc7b293dfb8f5732f1c11a8 /src/Cache.h | |
parent | 64d5a193f1059cac8225df7b7c3c9eaedfcfa41a (diff) |
Calculate verification status from cross-signing sigs and update dynamically
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Cache.h b/src/Cache.h index fca80145..cd96708e 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -67,14 +67,12 @@ void updateUserKeys(const std::string &sync_token, const mtx::responses::QueryKeys &keyQuery); // device & user verification cache -std::optional<VerificationCache> +std::optional<VerificationStatus> verificationStatus(const std::string &user_id); void -markDeviceVerified(const std::string &user_id, const std::string &key); +markDeviceVerified(const std::string &user_id, const std::string &device); void -markDeviceUnverified(const std::string &user_id, const std::string &key); -void -markMasterKeyVerified(const std::string &user_id, const std::string &key); +markDeviceUnverified(const std::string &user_id, const std::string &device); //! Load saved data for the display names & avatars. void |