summary refs log tree commit diff
path: root/src/CacheCryptoStructs.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-11-27 04:19:03 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-11-30 01:54:53 +0100
commitc24f9a22a535fe26130c856caf2a8a7c4631e689 (patch)
tree56c76cc1fcbce5eef00681b79f70f9aa2e2bfc12 /src/CacheCryptoStructs.h
parentUse proper flatpak sdk (diff)
downloadnheko-c24f9a22a535fe26130c856caf2a8a7c4631e689.tar.xz
Load sessions lazily from db
Diffstat (limited to 'src/CacheCryptoStructs.h')
-rw-r--r--src/CacheCryptoStructs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/CacheCryptoStructs.h b/src/CacheCryptoStructs.h
index 6256dcf9..80153255 100644
--- a/src/CacheCryptoStructs.h
+++ b/src/CacheCryptoStructs.h
@@ -55,13 +55,11 @@ from_json(const nlohmann::json &obj, MegolmSessionIndex &msg);
 struct OlmSessionStorage
 {
         // Megolm sessions
-        std::map<std::string, mtx::crypto::InboundGroupSessionPtr> group_inbound_sessions;
         std::map<std::string, mtx::crypto::OutboundGroupSessionPtr> group_outbound_sessions;
         std::map<std::string, OutboundGroupSessionData> group_outbound_session_data;
 
         // Guards for accessing megolm sessions.
         std::mutex group_outbound_mtx;
-        std::mutex group_inbound_mtx;
 };
 
 struct StoredOlmSession