summary refs log tree commit diff
path: root/src/CacheCryptoStructs.h
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-11-08 18:32:19 -0500
committerJoseph Donofry <joedonofry@gmail.com>2021-11-08 18:32:19 -0500
commitc93a7b24353a98b09949baf3ca4d8de8439cfa4a (patch)
tree53adf948d663566e198d00ad179acc4465e329c3 /src/CacheCryptoStructs.h
parentFix syntax issue (diff)
parentRemove appimage (diff)
downloadnheko-c93a7b24353a98b09949baf3ca4d8de8439cfa4a.tar.xz
Merge remote-tracking branch 'nheko-im/master' into video_player_enhancements
Diffstat (limited to 'src/CacheCryptoStructs.h')
-rw-r--r--src/CacheCryptoStructs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CacheCryptoStructs.h b/src/CacheCryptoStructs.h

index b7461848..f56c8685 100644 --- a/src/CacheCryptoStructs.h +++ b/src/CacheCryptoStructs.h
@@ -141,6 +141,14 @@ struct VerificationStorage std::mutex verification_storage_mtx; }; +//! In memory cache of verification status +struct SecretsStorage +{ + //! secret name -> secret + std::map<std::string, std::string> secrets; + std::mutex mtx; +}; + // this will store the keys of the user with whom a encrypted room is shared with struct UserKeyCache {